You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to define an array of objects that use different schemas? I've included an example of the model I'm working with, basically a "sections" array that stores objects of various schemas. The user would be able to add a new object to the array and choose what type (schema) to use.
{sections: [// array of objects with multiple possible schemas{type: 'foo',// enum [foo, bar, baz], decides what props are available in options onChangeoptions: {
... // varies depending on the type property above}}]}
The text was updated successfully, but these errors were encountered:
Is it possible to define an array of objects that use different schemas? I've included an example of the model I'm working with, basically a "sections" array that stores objects of various schemas. The user would be able to add a new object to the array and choose what type (schema) to use.
The text was updated successfully, but these errors were encountered: