-
-
Notifications
You must be signed in to change notification settings - Fork 158
Secondary paging #1100
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
Secondary paging #1100
Conversation
From https://jsonapi.org/format/1.1/#appendix-query-details-square-brackets: > According to the query parameter serialization rules above, a compliant implementation will percent-encode these square brackets.
…ng inverse relationship Bugfix: links.next was not set on full page at relationship endpoint
cce393f
to
ad5dc29
Compare
Codecov Report
@@ Coverage Diff @@
## master #1100 +/- ##
==========================================
+ Coverage 88.54% 88.59% +0.05%
==========================================
Files 255 255
Lines 7086 7127 +41
==========================================
+ Hits 6274 6314 +40
- Misses 812 813 +1
Continue to review full report at Codecov.
|
* JSON:API spec compliance: do not unescape brackets in response From https://jsonapi.org/format/1.1/#appendix-query-details-square-brackets: > According to the query parameter serialization rules above, a compliant implementation will percent-encode these square brackets. * Updated existing IResourceDefinition tests to capture all relevant callbacks * Retrieve total resource count on secondary/relationship endpoints using inverse relationship Bugfix: links.next was not set on full page at relationship endpoint * Rename flags enum to plural * Clarified documentation; fixed broken link * Check off roadmap entry
* JSON:API spec compliance: do not unescape brackets in response From https://jsonapi.org/format/1.1/#appendix-query-details-square-brackets: > According to the query parameter serialization rules above, a compliant implementation will percent-encode these square brackets. * Updated existing IResourceDefinition tests to capture all relevant callbacks * Retrieve total resource count on secondary/relationship endpoints using inverse relationship Bugfix: links.next was not set on full page at relationship endpoint * Rename flags enum to plural * Clarified documentation; fixed broken link * Check off roadmap entry
* JSON:API spec compliance: do not unescape brackets in response From https://jsonapi.org/format/1.1/#appendix-query-details-square-brackets: > According to the query parameter serialization rules above, a compliant implementation will percent-encode these square brackets. * Updated existing IResourceDefinition tests to capture all relevant callbacks * Retrieve total resource count on secondary/relationship endpoints using inverse relationship Bugfix: links.next was not set on full page at relationship endpoint * Rename flags enum to plural * Clarified documentation; fixed broken link * Check off roadmap entry
Sets
last
/next
paging links and addsmeta.total
on secondary/relationship endpoint responses whenoptions.IncludeTotalResourceCount
is set totrue
. Supports both one-to-many and many-to-many relationships.Fixes JSON:API spec compliance by not un-escaping square brackets in response links.
Bugfix:
links.next
was not set on full page at relationship endpoint.Fixes #1010.
QUALITY CHECKLIST