Skip to content
module@warp-drive/schema-dsl

Decorator editonly() sincev5.9.0 ​

ts
function editonly(target: object, key: string): void;

Defined in: fields/editonly.ts:14

Decorator

Reserved for future compile-time type derivation (e.g. omitting a field from a resource's generated create variant type). Currently a no-op: it has no effect on the compiled JSON schema, and stacking it with a field decorator like field changes nothing about that field's compiled output.

Parameters ​

target ​

object

key ​

string

Returns ​

void

Released under the MIT License.