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
Make it more obvious to users of makeExtendSchemaPlugin when they've done something wrong; for example referencing a type that doesn't exist, or using the wrong keyword.
and PostGraphile will process it, queue it up to extend that type when it's defined and thus never actually do anything since the type never is built in the first place. This is due to the way that PostGraphile's hooks work. We should also register a finalize hook that checks that all the rules that were added had at least one match - if not, we should warn aboout that rule.
The text was updated successfully, but these errors were encountered:
Feature description
Make it more obvious to users of makeExtendSchemaPlugin when they've done something wrong; for example referencing a type that doesn't exist, or using the wrong keyword.
Motivating example
Currently you can write code such as:
Or
and PostGraphile will process it, queue it up to extend that type when it's defined and thus never actually do anything since the type never is built in the first place. This is due to the way that PostGraphile's hooks work. We should also register a
finalize
hook that checks that all the rules that were added had at least one match - if not, we should warn aboout that rule.The text was updated successfully, but these errors were encountered: