Skip to main content

Flexible Persistence

If you need to persist data within your Route, try to make this as flexible as possible. Use a subRoute for persisting data, so you can easily change persistent storage from the file system to a database, or vice versa. Try also to keep all persistent dependent tasks/steps within this subRoute, so that you do not need to worry about special dependencies, when changing the persistent storage.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!