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
Currently the json package used to marshal and unmarshal structs is tied to the validator package used to validate entities. Validation and json are unrelated to each other so these packages should be separated
Acceptance criteria
Remove validation from json package
Remove global validator using init. Instantiate a validator in components that need one and define their own custom validation functions in the component directly. See manifest reader in infra for an example
Split yaml and json packages.
The text was updated successfully, but these errors were encountered:
Currently the
json
package used to marshal and unmarshal structs is tied to the validator package used to validate entities. Validation andjson
are unrelated to each other so these packages should be separatedAcceptance criteria
json
packageinit
. Instantiate a validator in components that need one and define their own custom validation functions in the component directly. Seemanifest
reader ininfra
for an exampleyaml
andjson
packages.The text was updated successfully, but these errors were encountered: