Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Deserialize expanded properties automatically or with $expand #49

Open
joshgav opened this issue Nov 11, 2014 · 1 comment
Open

Deserialize expanded properties automatically or with $expand #49

joshgav opened this issue Nov 11, 2014 · 1 comment

Comments

@joshgav
Copy link
Contributor

joshgav commented Nov 11, 2014

For $expand, ensure we properly deserialize and associate the expanded properties in the response.

Is there an efficient way to always deserialize expanded properties whenever we encounter them in a response? That is, not be tied necessarily to $expand, but simply expand whenever we find expanded props in the payload. For example, if an API owner decides that the default should be to return some things expanded by default.

@joshgav joshgav added this to the Immediate milestone Nov 11, 2014
@joshgav
Copy link
Contributor Author

joshgav commented Nov 12, 2014

In addition, we should include navigation properties in the generated classes.

  • If $expand is called these would include the expanded items.
  • If $expand isn't called
    • for navigation properties that refer to single instances, the instance should have a value of null
    • for those that refer to collections, they should have a value of an empty collection.

@joshgav joshgav removed this from the Immediate milestone May 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant