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
When I look at this in visualizer, I'm guessing it resolves relation.Columns first, which is the Dictionary<string,Column>, and it enumerates the Keys collection. When it tries to resolve .Values it doesn't find it because it has the enumeration results, not the actual object.
And... bingo
Not intuitive, and hadn't found anything in the documentation about this:
if (property == null)
value = map[TemplateGroup.DefaultKey];
else if (property.Equals("keys"))
value = map.Keys;
else if (property.Equals("values"))
(in Antlr4.StringTemplate\Misc\MapModelAdaptor.cs)
The adapter expects '.keys' or '.values' in lower-case. You could either change the capitalization there (to align it with c#/.NET conventions) or write a note in the documentation about the case for those properties. I tested it and it works for <rel.Columns.values:col()>
No description provided.
The text was updated successfully, but these errors were encountered: