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
Is it possible to get the order of operations the user has entered? I am trying to port the hapijs/Joi object schema validation to Go. Here is how the Joi library in NodeJS is used. Joi modifies and returns the final value as it is being validated; for example, if it says the value has to be in uppercase, the input value is uppercased and if a default value is specified, Joi sets the default value if there is none specified. In NodeJS, I use it for everything including URL query values, form input values, outgoing data, etc. I decided to attempt to port this as I could not find a good solution already available in Go.
Is it possible to get the order of operations the user has entered? I am trying to port the hapijs/Joi object schema validation to Go. Here is how the Joi library in NodeJS is used. Joi modifies and returns the final value as it is being validated; for example, if it says the value has to be in uppercase, the input value is uppercased and if a default value is specified, Joi sets the default value if there is none specified. In NodeJS, I use it for everything including URL query values, form input values, outgoing data, etc. I decided to attempt to port this as I could not find a good solution already available in Go.
The text was updated successfully, but these errors were encountered: