1
0
Fork 0

Mention state migrations in readme

This commit is contained in:
Robbert van der Helm 2022-10-21 23:23:13 +02:00
parent 6ee3aafa91
commit 71d46b42e9

View file

@ -97,6 +97,8 @@ Scroll down for more information on the underlying plugin framework.
- Store additional non-parameter state for your plugin by adding any field - Store additional non-parameter state for your plugin by adding any field
that can be serialized with [Serde](https://serde.rs/) to your plugin's that can be serialized with [Serde](https://serde.rs/) to your plugin's
`Params` object and annotating them with `#[persist = "key"]`. `Params` object and annotating them with `#[persist = "key"]`.
- Optional support for state migrations, for handling breaking changes in
plugin parameters.
- Group your parameters into logical groups by nesting `Params` objects using - Group your parameters into logical groups by nesting `Params` objects using
the `#[nested(group = "...")]`attribute. the `#[nested(group = "...")]`attribute.
- The `#[nested]` attribute also enables you to use multiple copies of the - The `#[nested]` attribute also enables you to use multiple copies of the