Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Jackson subtype Avro schema unions are non-deterministic and therefore incompatible with each other #601

@raphw

Description

@raphw

As a consequence of this change, the order of schema formats is no longer deterministic: 0d7f007 (see #589 / #593 )

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions