Git Product home page Git Product logo

Comments (9)

rubiodamian avatar rubiodamian commented on August 30, 2024

This is still happening in the lastest version.

from rest-client-sdk.

jdeniau avatar jdeniau commented on August 30, 2024

@rubiodamian Can you copy the class you are using ? thanks

from rest-client-sdk.

rubiodamian avatar rubiodamian commented on August 30, 2024

Yes, sorry!

/**
 * Agentes
 * @Rest\Entity(key="agentes")
 */
class Agentes
{
    /**
     * @Rest\Id
     * @Rest\Attribute(name="@id", type="string")
     */
    private $iri;
    /**
     * @var integer
     *
     * @Rest\Attribute(name="id", type="string")
     */
    private $codigo;
    /**
     * @var integer
     *
     * @Rest\Attribute(name="legajo", type="integer")
     */
    private $legajo;
    /**
     * @var array
     *
     * @Rest\Attribute(name="tipoCuil", type="array")
     */
    private $tipo_cuil;

the api responds with tipoCuil (array)
when the Entity attribute is tipoCuil and the field is $tipo_cuil, the field remains null. If i change the field to $tipoCuil the field fills up.

from rest-client-sdk.

jdeniau avatar jdeniau commented on August 30, 2024

Ok it's probably due to the fact that it's an array (the code is pretty ugly for arrays, because it can be a relation or an array), I will try to look at it tomorrow

from rest-client-sdk.

jdeniau avatar jdeniau commented on August 30, 2024

@rubiodamian Do you think it's related to #75 or not ?

from rest-client-sdk.

rubiodamian avatar rubiodamian commented on August 30, 2024

Maybe it is related because it's in the same part of code i think

from rest-client-sdk.

jdeniau avatar jdeniau commented on August 30, 2024

Can you see if the bug is still present in the 0.29.0 ?

from rest-client-sdk.

rubiodamian avatar rubiodamian commented on August 30, 2024

bug fixed!! 👍

from rest-client-sdk.

jdeniau avatar jdeniau commented on August 30, 2024

Great, I'm closing this

from rest-client-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.