New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work if "null" value in the payload of collection of entity #100

Closed
xuzhg opened this Issue Mar 12, 2015 · 1 comment

Comments

Projects
None yet
4 participants
@xuzhg
Member

xuzhg commented Mar 12, 2015

For example, I have an action with a collection of entity parameter in which the element type is nullable.

Now, I invoke this action with payload as:

{
  "Customers": [
     { "@odata.type":"#NS.Customer",  "Id":109,"Name":"Avatar" },
     null,
     {"@odata.type":"#NS.Customer", "Id":901,"Name":"Robot" } 
    ]
}

The ODataRead will fail to read this payload. Please investigate it and fix it. Thanks.

@mikepizzo

This comment has been minimized.

Member

mikepizzo commented Aug 1, 2017

I believe this should work now. Please re-activate if this is still an issue.

@mikepizzo mikepizzo closed this Aug 1, 2017

@mikepizzo mikepizzo added fixed and removed P4 labels Aug 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment