jsonapi-converter
jsonapi-converter copied to clipboard
Proposal for the @Relationship resolutionStrategy attribute.
Using a ResolutionStrategy#REF allows the developer to record a string reference to the target of a relationship instead of resolving the relationship. Proposed approach for addressing issue #31
@jasminb If I rebase this after your recent merges would you consider this new annotation?
Hey @emetsger, yes it is something that has its uses. Please have in mind that introduction of JsonApiDocument
that I am currently working on will change some stuff, so maybe wait with rebase until that one is merged.
@jasminb just FYI, I rebased the PR against the tip of develop.
I was thinking about renaming ResolutionStrategy.OBJECT
to ResolutionStrategy.DEREF
.
I can also add some additional documentation on this feature to the README if it would help this PR to be accepted :)