Skip to content

FieldVisibilitySchemaTransformation doesn't take union members into account #4185

Closed

Description

@dondonz

Found an interesting bug today

The FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unions though, so it's possible to end up with an illegal schema where a union type has a union member that doesn't exist anymore.

I'll put up a proper test case to explain this better

Activity

  1. github-actions commented on Feb 3, 2026

    @github-actions
    Contributor

    Hello, this issue has been inactive for 60 days, so we're marking it as stale. If you would like to continue this discussion, please comment within the next 30 days or we'll close the issue.

  2. andimarek commented on Feb 3, 2026

    @andimarek
    Member

    @dondonz I believe that is fixed now ... but lets double check.

  3. andimarek commented on Feb 23, 2026

    @andimarek
    Member

    I am very sure this is fixed ... therefore closing

  4. dondonz commented on Feb 23, 2026

    @dondonz
    MemberAuthor

    My bad I missed your comment earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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