Closed csantero closed 9 years ago
typeof null is 'object', so this line causes an error if linkValue is null.
typeof null
+1
from http://jsonapi.org/format/
A blank has-one relationship SHOULD be represented with a null value. For example, the following post has no author:
good catch!
typeof null
is 'object', so this line causes an error if linkValue is null.