reym
Projections/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

user.graphql
type User @upsertOn(...) {
    name: String! @immutable
}

In this case, the name field will be immutable.

On this page