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
Wouldn't this be better placed in the global schema? Particularly if we provide a way to show the merged config tree, that's going to be a lot more transparent.
I think the difference is that graphql_blacklisted_fields is a DataObject's way to declaring which fields should never be added to the schema, no matter what, across all schemas.
The exclude directive used on input types, because by default, when no fields is defined, you get fields: *, so you nee d away to override that.
It should work similarly to the standard types:
update:
fields:
'*': true
autoLoginHash: false
That '*': true bit likely didn't exist when this was written.
Will remove the exclude directive from input types and the related FieldReconciler trait.
We have two mechanisms for excluding fields from model operations:
graphql_blacklisted_fields
on DataObject, andexclude
on operations.In the following example, both
password
andautoLoginHash
would be excluded from theupdate
operation on thedefault
schema.Wouldn't this be better placed in the global schema? Particularly if we provide a way to show the merged config tree, that's going to be a lot more transparent.
The text was updated successfully, but these errors were encountered: