The static code generator throws NotSupportedException when using Dictionary<string, string[]> or List<string, string[]>.
To Reproduce
Add the source generator package to the project and add the following types:
[YamlStaticContext]
public class MyContext { }
[YamlSerializable]
public class Model {
public Dictionary<string, string[]> MyDictionary { get; set; }
}
Describe the bug
The static code generator throws
NotSupportedException
when usingDictionary<string, string[]>
orList<string, string[]>
.To Reproduce
Add the source generator package to the project and add the following types: