Closed
Description
The underlying neomerx encoder doesn't at the moment support nullable return types for the relationship self/related links. This results in errors (reported on multiple issues) when encoding a relationship response if the developer has disabled relationship links on their resource's relationship.
This really is a bug in the encoder: the spec doesn't say the relationship must have links, so the encoder should support nullable return types.
As we're now using a fork of the neomerx encoder, we should be able to fix this bug on our fork. It's looking like neomerx has disappeared - but if they ever return, we can submit a PR on the upstream repo to fix it there too.