Open gmusick opened 4 years ago
Hi @gmusick thanks for the suggestion. I agree. The file name should match the class name, I'll have a look when I get a chance.
@Roblinde great! I ended up having to make the change myself and so I opened #2 for it.
Hi @Roblinde, any chance you can review this PR? The spaces in the filename is bugging me too!
@district-michael I kinda forgot about this, but yes, I'll see what I can do. I currently do not have merge privileges, but I'll look into it.
I have a content type that has spaces in its name and, while the model created doesn't have spaces in its name, the actual file name does. So, for example, if I have a content type called
Foo Bar
in the Contentful UI, the model generated isFooBar
, but the file name for that model isFoo Bar.cs
. It seems like the file name should match the name of the model.