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
we can just write tag in the fields of the struct, and the validation I proposed in #482 can be registered directly as tag to use.
The text was updated successfully, but these errors were encountered:
iyear
changed the title
🍀 Proposal: Using go-playground/validator to validate plugin config fields
🍀 Proposal: Using go-playground/validator to Validate Plugin Config Fields
May 18, 2022
What would you like to add? Why is this needed?
Currently for each field we manually validate, I think we can import a new dependency, https://github.com/go-playground/validator
we can just write tag in the fields of the struct, and the validation I proposed in #482 can be registered directly as tag to use.
The text was updated successfully, but these errors were encountered: