You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
MikaAK
changed the title
Adding an input_type without fields causes schema not to generate and fail silently
Adding an input_object without fields causes schema not to generate and fail silently
Apr 25, 2022
Environment
When generating the API if you specify an input_object with no fields:
The schema will no longer generate but there's no errors so the only way to track it down is start removing queries/mutations to see what generates
Expected behavior
Probably some sort of error would be nice saying there's an empty schema
Actual behavior
Schema just doesn't generate and there's an empty schema in
/graphiql
Relevant Schema/Middleware Code
The text was updated successfully, but these errors were encountered: