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
{{ message }}
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
There is one more edge-case related to types filtering.
When you filter a type and another type has a field using that type, and it has no other fields, it becomes an "empty" type, also making schema invalid.
EDIT: (that can be opened as another issue, I guess, would be blocked by #14 because it's impossible to write custom transform returning null/undefined at the moment)
Given:
When:
Then:
My current workaround is removing null members and recreating UnionTypes without them:
The question is, should this be responsibility of
FilterType
transform to clean up unions as an additional step?The text was updated successfully, but these errors were encountered: