Replies: 1 comment 5 replies
-
You should be able to pass the Go struct to |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's assume we have the following struct:
What we want to achieve is that we simple generate a
cue.Value
from the initialized struct:Which will convert into:
Then, we will be able to validate with our custom cue.Value as follows:
Not sure if it would solve our use-case but we found FromGoValue() and FromGoType functions. But these are in the
internal
package intentionally, I guess. @mpvl, right?Any thoughts? Thanks!
@developer-guy @erkanzileli
Beta Was this translation helpful? Give feedback.
All reactions