10.1.0
Kontent.ai model generator for .NET 10.1.0
This is a minor release that adds the ContentTypeCodename property and fixes the base class parameter to generate records instead of classes.
For details on v10 changes, see the 10.0.0 release notes.
New features
ContentTypeCodenameproperty — each generated record now includes an expression-bodiedContentTypeCodenameproperty for accessing the content type codename directly without reflection- Collision handling — elements whose codename would collide with the built-in
ContentTypeCodenameproperty or constant (e.g.,content_type_codename,content_type) are automatically prefixed with_to avoid conflicts
Fixes
--baseClassrenamed to--baseRecord— the previous--baseClassparameter generated a base class, but since models are now records, this caused a compilation error. The parameter now generates a base record.--baseClass(-b) still works as an obsolete alias. A new-rshort key was added as an alternative.
What's Changed
Full Changelog: 10.0.0...10.1.0