[FEATURE]: add @default directive to GraphQL schema #8463
Labels
area/graphql
Issues related to GraphQL support on Dgraph.
dgraph
Issue or PR created by an internal Dgraph contributor.
kind/feature
Something completely new we should consider.
Stale
v21.12
supposedly corrected in v21.12
Allow user to set a default value on fields for add and update operation.
Allow use of $now to set current date time as default.
Was covered in v21.12
#8017
default value provided as string.
$now replaced by current DateTime on the server.
See PR, investigate if we can add default value for enums.
The text was updated successfully, but these errors were encountered: