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
spec: JSON:API Graphs #9073
base: main
Are you sure you want to change the base?
spec: JSON:API Graphs #9073
Conversation
# if ceo is an employee and something else | ||
# also declares fields for an employee, the | ||
# field sets will be merged | ||
profileImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for exclusion could do something like:
{
-name
}
and if the only fields are exclusion fields in the brackets ({}) then you receive all fields minus excludes. You may not mix included and excluded fields.
Great idea, JSON:API needs this. IMO though, for a query language to be really useful it should also contain comparison operators, such as:
and perhaps some basic grouping and logic |
As EmberData builds out its JSON:API support and Schema driven behaviors, we've noticed that some useful capabilities are less usable by JSON:API users due to that spec not yet considering the overall ergonomics of querying and consuming graphs.
This adds a specification with an extension and profile that APIs may implement to make use of these capabilities.
Rendered