Skip to content

Fix inconsitency between general processing rules and pagination links #1606

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

Merged
merged 2 commits into from
Jun 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix inconsitency between general processing rules and pagination links
`null` value was not listed as an allowed value for links in general processing rules for links objects. But it was allowed explicitly for pagination links. This change fixes that inconsitency by allowing `null` for _every_ link to indicate that it does not exist.
  • Loading branch information
jelhan authored Feb 4, 2022
commit 1c3e5f450681a46abe0c4f5ca848533367da508c
5 changes: 3 additions & 2 deletions _format/1.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,9 @@ of this member **MUST** be an object (a "links object").
Within this object, a link **MUST** be represented as either:

* a string whose value is a URI-reference [[RFC3986 Section 4.1](https://tools.ietf.org/html/rfc3986#section-4.1)]
pointing to the link's target.
* a [link object].
pointing to the link's target,
* a [link object] or
* `null` if it does not exist.

A link's relation type **SHOULD** be inferred from the name of the link unless the
link is a [link object] and the link object has a `rel` member.
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy