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
name | *no* | string | The name of the GraphQL input type generated. If not passed, the name of the class with suffix "Input" is used. If the class ends with "Input", the "Input" suffix is not added.
179
179
description | *no* | string | Description of the input type in the documentation. If not passed, PHP doc comment is used.
180
180
default | *no* | bool | Name of the input type represented in your GraphQL schema. Defaults to `true`*only if* the name is not specified. If `name` is specified, this will default to `false`, so must also be included for `true` when `name` is used.
181
-
update | *no* | bool | Determines if the the input represents a partial update. When set to `true` all input fields will become optional and won't have default values thus won't be set on resolve if they are not specified in the query/mutation/subscription. This primarily applies to nullable fields.
181
+
update | *no* | bool | Deprecated. `#[Input(update: true)]` still works for compatibility, but for partial updates you should prefer nullable fields with `Undefined` so omitted values can be distinguished from explicit `null`.
0 commit comments