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 default graphql-ruby approach to unauthorized objects is to replace them with null. In order for that to work, the field declarations referring to these types must be null: true
Do you think it is possible to create a cop to make sure that all fields that reference types have null: true?
The text was updated successfully, but these errors were encountered:
If there's something on the field level (i.e. field :user, UserType, null: false, policy: UserPolicy) — it should be possible, if it's only in the code — will be way harder
The default graphql-ruby approach to unauthorized objects is to replace them with null. In order for that to work, the field declarations referring to these types must be
null: true
Do you think it is possible to create a cop to make sure that all fields that reference types have null: true?
The text was updated successfully, but these errors were encountered: