Skip to content

Commit

Permalink
👌 [#3977] PR feedback
Browse files Browse the repository at this point in the history
* Added missing docstring
  • Loading branch information
sergei-maertens committed Mar 12, 2024
1 parent 9a7e244 commit 7a1587a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/openforms/formio/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ def get_dynamic_configuration(
def build_serializer(
components: list[Component], _register: ComponentRegistry | None = None, **kwargs
):
"""
Translate a sequence of Formio.js component definitions into a serializer.
This recursively builds up the serializer fields for each (nested) component and
puts them into a serializer instance ready for validation.
"""
return _build_serializer(components, register=_register or register, **kwargs)

0 comments on commit 7a1587a

Please sign in to comment.