Skip to content

Commit 450d2bb

Browse files
cds9: rm draft compat flag (#1768)
1 parent 7cc1fdd commit 450d2bb

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

guides/databases-sqlite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ ID;title;author.ID;currency.code // [!code --]
650650

651651
As mentioned in [Using Lean Draft](#using-lean-draft), we eliminated all draft handling from new database service implementations, and instead implemented draft in a modular, non-intrusive, and optimized way — called *'Lean Draft'*.
652652

653-
When using the new service, the new `cds.fiori.lean_draft` mode is automatically switched on. You may additionally switch on <Config keyOnly>cds.fiori.draft_compat:true</Config> in case you run into problems.
653+
When using the new service, the new `cds.fiori.lean_draft` mode is automatically switched on.
654654

655655
More detailed documentation for that is coming.
656656

node.js/fiori.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ Additionally, you can add your logic to the draft-specific events as follows:
6464
- The `EDIT` event is triggered when you start editing an active entity. As a result `MyEntity.drafts` is created.
6565
- The `SAVE` event is just a shortcut for `['UPDATE', 'CREATE']` on an active entity. This event is also triggered when you press the `SAVE` button in UI after finishing editing your draft. Note, that composition children of the active entity will also be updated or created.
6666

67-
::: info Compatibility flag
68-
For compatibility to previous variants, set `cds.fiori.draft_compat` to `true`.
69-
:::
70-
7167
### Draft Locks
7268

7369
To prevent inconsistency, the entities with draft are locked for modifications by other users. The lock is released when the draft is saved, canceled or a timeout is hit. The default timeout is 15 minutes. You can configure this timeout by the following application configuration property:

0 commit comments

Comments
 (0)