management-sdk icon indicating copy to clipboard operation
management-sdk copied to clipboard

Updating a union type doesn't copy existing settings

Open rhyswfbowles opened this issue 4 years ago • 1 comments

Hi,

I've noticed that when updating a UnionField to include new models, the existing settings for this union aren't added to the new models.

For example when adding a new model to the union, the apiOnly state is not applied to the new model, but continues to exist on the older models.

Existing

Screenshot 2021-11-17 at 09 07 42

New

Screenshot 2021-11-17 at 09 07 49

As you can see, the visibility on the New one does not include the API Only from the existing one.

rhyswfbowles avatar Nov 17 '21 09:11 rhyswfbowles

@flexzuu any idea on this?

notrab avatar Dec 10 '21 16:12 notrab