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
While this should work, is there a specific reason why you're using a pointer to a map as its a reference type anyway?
I had a usecase where *map[string]any was being used to indicate that the field was optional and might not be set - which I realise is niche but felt like a bit of a footgun.
If I have a Go struct containing a pointer to a map, I'm unable to use that structure in Otto.
Here's an example test case:
And the resulting error:
The text was updated successfully, but these errors were encountered: