Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanTingHsieh committed Oct 9, 2024
1 parent b1582f3 commit cc806f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/user_guide/security/serialization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ pre-registered with the module.
FOBS supports enum types by registering decomposers automatically for all classes that
are subclasses of :code:`Enum`.

FOBS treats all other classes as dataclass by registering a generic decomposer for dataclasses.
Dataclass is a class whose constructor only changes the state of the object without side-effects.
Side-effects include changing global variables, creating network connection, files etc.

FOBS throws :code:`TypeError` exception when it encounters an object with no decomposer
registered. For example,
::
Expand Down

0 comments on commit cc806f1

Please sign in to comment.