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 unicorn/no-null rule was added in v6, and while it is the idyllic state, it does appear to complete / conflict with GraphQL standards / best practices. To the point that even if you pass undefined to GraphQL, it’ll coerce it to null anyway.
To that end, we should check for the presence of graphql in dependencies and conditionally disable this rule.
The unicorn/no-null rule was added in v6, and while it is the idyllic state, it does appear to complete / conflict with GraphQL standards / best practices. To the point that even if you pass
undefined
to GraphQL, it’ll coerce it to null anyway.To that end, we should check for the presence of
graphql
in dependencies and conditionally disable this rule.Might be worth waiting until #37 too.
The text was updated successfully, but these errors were encountered: