Skip to content

Type Registry schema overwritten during type registry merge #417

Description

@kaseyreed

Currently, when attempting to merge multiple Type Registries together, the top-level schema property is overwritten:

if (typeRegistry.schema != null && this.schema != null) {
      errors.add(new SchemaRedefinitionError(this.schema, typeRegistry.schema));
}

if (!errors.isEmpty()) {
      throw new SchemaProblem(errors);
}

// ok commit to the merge
this.schema = typeRegistry.schema;

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