Skip to content

Removing only field from type raises error instead of removing a type #24

Description

@rafalp

For type:

type Example {
  email: String
}

If email is deleted, schema keeps definition of Example without any fields, causing schema to fail to validate.

I am not 100% sure if this is an error on AGP's part. What if this type is extended later in the schema and still defines useful directives on itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions