We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there, So I have this struct
type serviceAccount struct { Name graphql.String Labels map[string]interfaces{} }
which results into
failed to write query for struct field `Labels`: type map[string]interface {} is not supported, use [][2]interface{} instead
Is there a way to unmarhal this?
Thanks
The text was updated successfully, but these errors were encountered:
Hello @kotyara85,
You can try to add scalar:"true" tag to that field. The library will ignore inferring nested fields and decode directly.
scalar:"true"
type serviceAccount struct { Name graphql.String Labels map[string]interfaces{} `scalar:"true"` }
Sorry, something went wrong.
No branches or pull requests
Hello there,
So I have this struct
which results into
Is there a way to unmarhal this?
Thanks
The text was updated successfully, but these errors were encountered: