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
# type: data type of the property, one of the following: string|integer|boolean|list|json_string
3
-
# generated: whether the property is auto genearated or user provided, default to false
4
-
# required_on_create: whether the property is required from user reqeust JSON for entity creation via POST
5
-
# immutable: whether the property can NOT be updated once being created, default to false
6
-
# transient: whether the property to persist in database or not, default to false
7
-
# exposed: whether the property gets returned to the user or not, default to true
8
-
# trigger types: before_create_trigger|after_create_trigger|before_update_trigger|after_update_trigger|on_read_trigger, one property can have none (default) or more than one triggers
2
+
# Entity properties:
3
+
# - type: data type of the property, one of the following: string|integer|boolean|list|json_string
4
+
# - generated: whether the property is auto genearated or user provided, default to false
5
+
# - required_on_create: whether the property is required from user reqeust JSON for entity creation via POST
6
+
# - immutable: whether the property can NOT be updated once being created, default to false
7
+
# - transient: whether the property to persist in database or not, default to false
8
+
# - exposed: whether the property gets returned to the user or not, default to true
9
+
# - trigger types: before_create_trigger|after_create_trigger|before_update_trigger|after_update_trigger|on_read_trigger, one property can have none (default) or more than one triggers
10
+
# - updated_peripherally: a temporary measure to correctly handle any attributes which are potentially updated by multiple triggers
9
11
10
-
# Entity creation via http POST request, either standalone or derived:
12
+
# Entity level validator:
13
+
# - types: before_entity_create_validator, a single validation method needed for creating or updating the entity
14
+
15
+
# Property level validators:
16
+
# - types: before_property_update_validators, a list of validation methods
17
+
18
+
# Entity creation via http POST request:
11
19
# - Use `generated: true` to mark a property as to be auto generated by the program instead of from user input JSON
12
20
# - If a property is marked as `generated: true`, either no trigger method needed (E.g. Donor.image_files) or a `before_create_trigger` can be used to generate the value
13
21
# - If a property has `before_create_trigger`, it can't be specified in client request JSON
@@ -27,7 +35,6 @@
27
35
# - If a property has `on_read_trigger`, it must be `transient: true`, meaning it's not stored in neo4j and only available during response
28
36
# - If a property is `transient: true`, it can have `on_read_trigger` or not have one (when `exposed: false`)
0 commit comments