Skip to content

Commit e4b1919

Browse files
authored
Fix inconsitency between general processing rules and pagination links (json-api#1606)
* 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. * Update _format/1.1/index.md
1 parent f1a2fcd commit e4b1919

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_format/1.1/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,9 @@ of this member **MUST** be an object (a "links object").
758758
Within this object, a link **MUST** be represented as either:
759759

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

764765
A link's relation type **SHOULD** be inferred from the name of the link unless the
765766
link is a [link object] and the link object has a `rel` member.

0 commit comments

Comments
 (0)
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