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

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

Open
rafalp opened this issue May 15, 2023 · 0 comments
Open
Labels
decision needed This requires furthrer study

Comments

@rafalp
Copy link
Contributor

rafalp commented May 15, 2023

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?

@rafalp rafalp added the bug Something isn't working label May 15, 2023
@rafalp rafalp added decision needed This requires furthrer study and removed bug Something isn't working labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decision needed This requires furthrer study
Projects
None yet
Development

No branches or pull requests

1 participant