Skip to content

Allow adding of external Object Id resolver #176

@cowtowncoder

Description

@cowtowncoder

(note: related to #138)

Currently it is assumed that all Object Id resolution is handled internally, using only information available from POJOs to serialize, or coming from JSON to deserialize.
This works acceptably when the default "serialize first instance seen, use ids for rest" handling, but not when trying to deserialize entries when using "always use id", since in latter case JSON itself just does not have actual things being referred.

This should be possible to handle by allowing use of external Object Id resolvers, which would be used if id is not resolvable using JSON content. This object could be called only in cases where it is known to be needed (when resolving references that have "alwaysUseId" marker).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions