Skip to content
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

Support for structured types #7

Open
rpbouman opened this issue Jul 14, 2017 · 0 comments
Open

Support for structured types #7

rpbouman opened this issue Jul 14, 2017 · 0 comments

Comments

@rpbouman
Copy link
Member

Structured types are not handled well. See for example in https://gegevensmagazijn.tweedekamer.nl/OData/v1

TK.DA.GGM.Models.DataService.MarkeringCT
in

VerslagDraadboekfragmentType
VerslagActiviteitActiviteithoofd
VerslagActiviteithoofdActiviteitdeel

Proposal is for the jubilant meta model to project the properties of the structured type as if they were properties of the entity itself. We will have to mark those as coming from a structured type, since we need to $select the structured type property, not any fields within it. Paradoxically, the syntax

structuredTypePropery/FieldWithinStructuredType

is not valid in the $select, but it is valid in the $orderby and/or $filter.

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

No branches or pull requests

1 participant