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
The name of the parameter taken by each type validator.
66
66
</ParamField>
67
67
68
-
{/\* <ParamField
69
-
type="string"
70
-
path="readonlyFieldValidatorNamePattern"
71
-
default="isReadonlyFieldAffectedFor{modelName}"
72
-
73
-
> The pattern that specifies how the generated readonly field validators are named. The pattern must be a string that contains the `"{modelName}"` substring (this is a literal value).
74
-
75
-
Example values:
76
-
77
-
- `"isReadonlyFieldAffectedFor{modelName}"` -> produces validators like `isReadonlyFieldAffectedForUser`, `isReadonlyFieldAffectedForProject`, `isReadonlyFieldAffectedForAccount` etc.
78
-
- `"affectsReadonlyFieldFor{modelName}"` -> produces validators like `affectsReadonlyFieldForUser`, `affectsReadonlyFieldForProject`, `affectsReadonlyFieldForAccount` etc.
79
-
80
-
</ParamField> */}
81
-
82
-
{/\* <ParamField
83
-
type="string"
84
-
path="readonlyFieldValidatorPrevDataParamName"
85
-
default="prevData"
86
-
87
-
> The name of the first parameter taken by each readonly field validator
88
-
> representing previous data. This parameter used when computing the diff
89
-
> between next data and previous data to determine whether a readonly field has
90
-
> been affected by a write.
91
-
92
-
</ParamField> */}
93
-
94
-
{/\* <ParamField
95
-
type="string"
96
-
path="readonlyFieldValidatorNextDataParamName"
97
-
default="nextData"
98
-
99
-
> The name of the second parameter taken by each readonly field validator
100
-
> representing next data. This parameter used when computing the diff between
101
-
> next data and previous data to determine whether a readonly field has been
0 commit comments