Skip to content

Commit

Permalink
Add details about baseVersion on update (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel authored Mar 20, 2024
1 parent 129db33 commit 9fe248c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _sections/120-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ Entity updates are declared in the `entity` element in the [`meta` block](./#met
- MAY also have a bind to a `create` attribute as previously defined. In that case, the form designer is responsible for making sure that the id is correctly populated in each case and that the `update` and `create` conditions don't result in both being truthy at the same time. If both are truthy, the spec consumer processing submissions should do both and one of them will fail.
- MAY have a direct child label representing a human-readable label

When a consumer of this specification applies an entity `update`, it:
- MUST treat a `baseVersion` value other than a positive integer as 0
- MUST increment the `baseVersion` of its local entity representation by 1 when an update is successfully applied

### Identifying entity properties

Expand Down

0 comments on commit 9fe248c

Please sign in to comment.