-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Separation of JsonApi serialization/deserialization and asp.net core #661
Comments
Good point! We have already thought about this. First steps have been made with a few previous PRs, but this is very much something we are working on. |
Worth mentioning that one of these does already exist at https://github.com/codecutout/JsonApiSerializer (used it a fair bit and it works well) although both libraries have some differences in terms of the attributes and types used to achieve the same thing. |
Thanks for the link. |
In theory, it would be nice to have:
Unfortunately, things are more complicated. For details, see #664 (comment) and #1028. We have an annotated object model that goes through the serializer. These objects are annotated with The resource graph is designed for an API server scenario. Attribute capabilities, for example, indicate what an API client is permitted to do. The same applies to |
I couldn't see anything related to this. Hopefully I'm not out of line here...
...
It would be helpful to have the code handling the serialization/deserialization of Json:api in a separate .net standard library.
That way, the model, and deserialization could be reused in other, not .net core client projects.
The text was updated successfully, but these errors were encountered: