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
Right now external configuration in Admin UI is not validated. we need to make sure it's ok validating it right away using the validator library we already use in the project.
This is needed to avoid weird errors at runtime or during the setup of the backend server.
This should be done in the serve.go file.
We should validate the EnvSpecs object, right after applying the needed validation tags in specs.go.
The whole process of "preparing" the specs object could be (strongly advised) grouped in a single function that is invoked inside the serve() method.
The text was updated successfully, but these errors were encountered:
Description
Right now external configuration in Admin UI is not validated. we need to make sure it's ok validating it right away using the
validator
library we already use in the project.This is needed to avoid weird errors at runtime or during the setup of the backend server.
This should be done in the
serve.go
file.We should validate the
EnvSpecs
object, right after applying the needed validation tags inspecs.go
.The whole process of "preparing" the specs object could be (strongly advised) grouped in a single function that is invoked inside the
serve()
method.The text was updated successfully, but these errors were encountered: