Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
I have TypeGen 2.1.1 package installed and am using version 2.1.1 of the CLI.
I created the GenerationSpec below and added it to the root of my project.
FarmDTOs.Loss.Causes is an enum inside of a class which resides in a Nuget package:
When I run
Any ideas as to what would be causing this?
That looks strange. I'll try to replicate and I'll let you know here when I manage to make a fix. Is the enum the only thing you specify in
BTW, I haven't tested TypeGen with nested types. If you're using GenerationSpec it should be fine, because you just list the types you want to be generated, but I'm not sure how it would work if there were attributes on nested types. I'll review how it works and make changes in the next release if necessary to make TypeGen work with nested types.