Skip to content

Commit

Permalink
rm lean draft opt out (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-vogel authored Sep 4, 2024
1 parent 2f79a34 commit 9826c79
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions node.js/fiori.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@ See [Cookbook > Serving UIs > Draft Support](../advanced/fiori#draft-support) fo

Lean draft is a new approach which makes it easier to differentiate between drafts and active instances in your code. This new architecture drastically reduces the complexity and enables more features like storing active instances in remote systems while keeping the corresponding drafts in the local persistence.

### Enablement

Lean draft is enabled by default. Add this to your `cds` configuration to disable the feature:

```json
{
"cds": {
"fiori": {
"lean_draft": false
}
}
}
```

### Handlers Registration {#draft-support}

Class `ApplicationService` provides built-in support for Fiori Draft. All CRUD events are supported for both, active and draft entities.
Expand Down

0 comments on commit 9826c79

Please sign in to comment.