8000 Jackson subtype schema unions are non-deterministic and therefore incompatible with each other. · Issue #601 · FasterXML/jackson-dataformats-binary · GitHub
[go: up one dir, main page]

Skip to content
Jackson subtype schema unions are non-deterministic and therefore incompatible with each other. #601
Open
@raphw

Description

@raphw

As a consequence of this change, the order of schema formats is no longer deterministic: 0d7f007

This means that two schemas that are generated in two separate runs are incompatible. The reason for this is the use of a Set for collecting unionSchemas. To solve the issue, there should be a separate list where types are stored in the discovery order to retain a deterministic order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0