-
Notifications
You must be signed in to change notification settings - Fork 80
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
Generated examples imply that deep insert or update is supported #45
Comments
@tsg2k2 The tool currently makes the simplifying assumption that
This works for most services. The tool currently produces components from the types and reuses these in all operations. Assume A -> B -> C, then the insert structure of A references the insert structure of B, which references the insert structure of C, allowing deep insert of A with B with C. Full support for deep insert/update capabilities and expand restrictions would require a more complicated approach: assume B allows deep insert of C, and A allows deep insert of B but not C. This would require completely different insert structures for A and B. Thoughts? |
I think that good start would be to take into account deep insert capability. It's is good enough for many simple use cases. |
Since version 0.9.0 deep insert and deep update is only implied for containment navigation properties. |
For entity defined as
Generated sample for POST includes Others
It should only happen if deep insert/update capabilities are supported
The text was updated successfully, but these errors were encountered: