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
Every time I have a node that contains an uppercase letter (e.g. "Node"), it will not be matched, returning an error like no struct field into which to unmarshal node "Node". So the kdl annotation works for node names with hyphens (e.g. "magic-numbers") but not for anything with uppercase characters (e.g. "Magic-Numbers").
I could not find anything in the KDL site that mentions a restriction to only lowercase. The kdl_test.go file here only has tests using lowercase characters though.
So in cases where we can't control the format of the KDL, how to Unmarshal nodes that contain uppercase characters in their names?
The text was updated successfully, but these errors were encountered:
Every time I have a node that contains an uppercase letter (e.g. "Node"), it will not be matched, returning an error like
no struct field into which to unmarshal node "Node"
. So the kdl annotation works for node names with hyphens (e.g. "magic-numbers") but not for anything with uppercase characters (e.g. "Magic-Numbers").I could not find anything in the KDL site that mentions a restriction to only lowercase. The kdl_test.go file here only has tests using lowercase characters though.
So in cases where we can't control the format of the KDL, how to Unmarshal nodes that contain uppercase characters in their names?
The text was updated successfully, but these errors were encountered: