Skip to content

Commit 8bad73f

Browse files
authored
fix(storage): storage format
Fix on the storage format (probably need to be reworded).
1 parent 35d531a commit 8bad73f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

workflow/usage.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,12 @@ like this:
158158

159159
.. note::
160160

161-
Please note that if you decide to store $currentPlace using Doctrine,
162-
the attribute must be mapped to an array.
161+
If a ``multiple_state`` is used, the persisted state type should be an ``array``,
162+
using Doctrine, you can use ``json`` or ``json_array``.
163+
164+
If a ``single_state`` is used, the persisted state type could be a string
165+
166+
If something else is used, you're in charge of choosing the best storage format.
163167

164168
With this workflow named ``blog_publishing``, you can get help to decide
165169
what actions are allowed on a blog post::

0 commit comments

Comments
 (0)