Skip to content

Commit 082a4f1

Browse files
committed
fix(storage): storage format
Fix on the storage format (probably need to be reworded).
1 parent 93f11e1 commit 082a4f1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

workflow/usage.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ As configured, the following property is used by the marking store::
166166

167167
.. note::
168168

169+
If a ``multiple_state`` is used, the persisted state type should be an ``array``,
170+
using Doctrine, you can use ``json`` or ``json_array``.
171+
172+
If a ``single_state`` is used, the persisted state type could be a string
173+
174+
If something else is used, you're in charge of choosing the best storage format.
175+
169176
Please note that if you decide to store $currentPlace using Doctrine,
170177
the attribute must be mapped to an array.
171178

0 commit comments

Comments
 (0)