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
My internal state is kept as a JsonNode structure with the root as a JObject JsonNode. I'm trying to do the minimal amount of magic on the way to transferring the state into nim-mustache and thought something like this should work:
I'm sure it is doable, but the compiler and I can't agree on how to annotate the type in question I guess 🙂 Could you tell me how to do it correctly @soasme ?
The text was updated successfully, but these errors were encountered:
Hi
My internal state is kept as a JsonNode structure with the root as a JObject JsonNode. I'm trying to do the minimal amount of magic on the way to transferring the state into nim-mustache and thought something like this should work:
Where
my_context
is my root object.I have also tried several variations such as:
or:
but to no avail ...
I'm sure it is doable, but the compiler and I can't agree on how to annotate the type in question I guess 🙂 Could you tell me how to do it correctly @soasme ?
The text was updated successfully, but these errors were encountered: