-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Provide some Documentation #16
Comments
Hey, thanks for your interest! Yes I plan to add documentation around features/usage soon. Most of the OData 4 issues discussed by the breeze authors are related to Microsoft's implementation of OData 4, which of course are irrelevant to the client. Briefly though, the following are supported:
My current todo list:
Any advanced querying that OData 4 allows can be accomplished by using breeze's pass-thru/literal predicate syntax. There are also some inherent breeze limitations, such as the inability to add missing query functions (Breeze/breeze.js#202) and allowing property paths with the derived type (Breeze/breeze.js#195), the latter of which is a feature of OData as of version 3. If there's anything else you are specifically looking to do with OData 4, please let me know. Thanks! |
Hi thanks this is helpful. So any normal breeze query is supported I guess, but was about save charges? Thanks |
Batch saving is implemented for save changes. To the client, a save request is the transaction. This library has no understanding of server-side save order, transactions, or databases. However, I have considered possibly splitting - or ordering - the changesets in the batch based on dependencies, but that quickly becomes complicated. Batch saves use a single HTTP POST request, with the body being a multipart content type representing each individual request that should be performed on the server. Processing the batch request is left up to the server implementation. If you are looking for a method to use database transactions, you may also consider using an OData action. See also: Responding to a Batch Request |
Hi, thanks for the info. I believe it is also important to mention the server side setup, should the controllers inherit from ApiController or ODataController ? What about the BreezeController attribute ? Sorry for all those questions, if you can provide a basic example all will be clear. Thanks and sorry again |
The server-side controllers should inherit from ODataController. I will try to work on an sample client and server. In the meantime, this should get you started: |
Hi this is an extremely interesting project !!!! Would it be possible to to add some documentation explaining the implemented features and what's still missing/todo ?
Also there are these pages
http://breeze.github.io/doc-net/odata.html
http://breeze.github.io/doc-js/server-odata.html
http://breeze.github.io/doc-net/odata-vs-webapi.html
that relate to oData support and clearly mention issues with oData4. What is the status regarding these issues ?
Thanks
The text was updated successfully, but these errors were encountered: