Replies: 1 comment
-
@LoKKeR96 in the documentation you may do so by registering as custom struct validation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, as per title I'm trying to validate structs inside another struct with custom function but none of the solutions or guidelines I have found online have worked for me. I am not sure why.
Say I have:
I want to be able to validate each struct (if not nil) in a custom function. Does anyone know how to do this please?
Beta Was this translation helpful? Give feedback.
All reactions