Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static code generation fails to generate code for Dictionary and List which use Array values #854

Closed
prochnowc opened this issue Oct 5, 2023 · 0 comments · Fixed by #855

Comments

@prochnowc
Copy link
Contributor

Describe the bug

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; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant