CRUD/Schema/Field
@immutable
Use the @immutable
directive to make a field immutable.
This means that the field can only be written once and cannot be changed afterwards.
Example
type User @crudType {
name: String! @immutable
}
In this case, the name
field will be immutable.