How we moved away from spaghetti code
Reference
(without vuex)
Text
(with vuex store module)
Validations
Loading via API
OpenAPI Spec
Store
Form Field
Form Field Wrapper
In Sync
Fetches validations
Component wrapping actual <form/>
Server
Submit API
400 errors thrown
Loads Open API Spec validators
dispatches field errors
Show Errors