Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for removed schema elements #6862

Open
Tracked by #6871
StefanApfel-Bentley opened this issue Jun 18, 2024 · 0 comments
Open
Tracked by #6871

Add support for removed schema elements #6862

StefanApfel-Bentley opened this issue Jun 18, 2024 · 0 comments

Comments

@StefanApfel-Bentley
Copy link
Contributor

StefanApfel-Bentley commented Jun 18, 2024

What
When getting the differences between two schemas, it might be also interesting to know if schema elements has been removed between two version. This may happen during optimization processes. However, detecting removed schema elements only make sense, if two versions of the same schema gets compared.

A remove difference would be identical to the add differences while it's body can carry the removed schema element.

Example

{
  changeType: "remove",
  schemaType: "Enumeration",
  itemName: "SimpleEnumeration",
  difference: {
    type: "int",
    isStrict: true,
    enumerators: [
    {
      name: "EnumeratorOne",
      label: "Enumerator One",
      value: 200,
    }
    ...
    ],
  },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant