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

Updating a union type doesn't copy existing settings #17

Open
rhyswfbowles opened this issue Nov 17, 2021 · 1 comment
Open

Updating a union type doesn't copy existing settings #17

rhyswfbowles opened this issue Nov 17, 2021 · 1 comment

Comments

@rhyswfbowles
Copy link

rhyswfbowles commented Nov 17, 2021

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.

@notrab
Copy link
Contributor

notrab commented Dec 10, 2021

@flexzuu any idea on this?

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

2 participants