sauron-engine
sauron-engine copied to clipboard
pydantic support
Sometimes we want to pass more data to components or we will want to build widgets in the frontend, such as range, date input, etcs. For this usecase perhaps the smartest thing to do is to support pydantic and have customModels for those types/widgets
An important feature to add would be validation
https://pydantic-docs.helpmanual.io/#validators
also, I just realized that pydantic has json schema exporting
Reviewing this I believe that everything can be done with already existing pydantic types, I believe that simple examples will suffice for this