Closed wagenet closed 9 years ago
https://github.com/kurko/ember-json-api/blob/899825dd63354c6f5305879ddd5ee7403685fbb8/src/json-api-serializer.js#L47 - If linkValue is null it will pass the typeof 'object' test. Should just add linkValue && to the start of that conditional.
linkValue
null
typeof 'object'
linkValue &&
I will try to PR soon.
@csantero Ah, thanks :) I skimmed the issues but missed that.
https://github.com/kurko/ember-json-api/blob/899825dd63354c6f5305879ddd5ee7403685fbb8/src/json-api-serializer.js#L47 - If
linkValue
isnull
it will pass thetypeof 'object'
test. Should just addlinkValue &&
to the start of that conditional.I will try to PR soon.