KY-Programming / generator

Type Generator: No framework. No magic. Just code. 100% debuggable.
https://generator.ky-programming.de
MIT License
18 stars 4 forks source link

Ignore Property during generation attribute #13

Closed joachim-heck closed 4 years ago

joachim-heck commented 4 years ago

I've just discovered the [KY.Generator.Reflection.GenerateIgnore] attribute which is perfectly usable to ignore certain classes from the generation process. I wonder if there is also an attribute which enables us to ignore certain properties from generation - like NewtonsoftJson does provide with [JsonIgnore].

It would be awesome if you can extend the attributes, hence this would save us a lot of extra work wrapping out the unwanted properties.

Thanks and regards!

ky-one commented 4 years ago

Will be part of the 3.6.0 release