Skip to content

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

@rhyswfbowles

Description

@rhyswfbowles

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions