You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like a simple issue to fix inside the JSON::JSONAPI. Can anyone confirm that it's not just me doing something stupid? If so I'll be happy to fix it in a pull request :)
The text was updated successfully, but these errors were encountered:
I would like to render empty (
nil
) relationships withJSONAPI
like so:This is what the jsonapi specification says. See http://jsonapi.org/format/#document-resource-object-linkage
When I use
render_nil: true
in ahas_one
I getIt seems like a simple issue to fix inside the
JSON::JSONAPI
. Can anyone confirm that it's not just me doing something stupid? If so I'll be happy to fix it in a pull request :)The text was updated successfully, but these errors were encountered: