Skip to content

Conversation

@jwreschnig-utiq
Copy link

Nothing in the JSON:API spec requires links (usually e.g. it’s either links or data), and nothing requires that if one relation has a related resource link, all must.

This allows LinkRelation to return nil for related resources which may not have exposed linkage routes in an API.

Nothing in the JSON:API spec requires links (usually e.g. it’s either
links or data), and nothing requires that if one relation has a related
resource link, all must.

This allows `LinkRelation` to return nil for related resources which may
not have exposed linkage routes in an API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant