Skip to content
Discussion options

You must be logged in to vote

@sn4h It is indeed possible. Here's a live example I implemented for your use case:
https://stackblitz.com/edit/coltorapps-builder-nested-cjr4c9p6

The idea is that you can define multiple builders, nest them within each other, and recursively chain their validations.
The example includes a main builder used to create section and table entities, and a table builder whose schema is stored in the columns attribute of table entities.

Feel free to take a look at the code and let me know if you need any help.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sn4h
Comment options

Answer selected by sandulat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants