kontent-ai / model-generator-net

Kontent.ai .NET model generator.
https://www.nuget.org/packages/Kontent.Ai.ModelGenerator
MIT License
17 stars 19 forks source link

Management API: Guidelines element prevents generating the rest of snippet properties. #185

Closed rebelzach closed 1 year ago

rebelzach commented 1 year ago

Brief bug description

Guidelines element prevents generating the rest of snippet properties.

Repro steps

  1. Add a snippet with a Guidelines element and a subsequent Text element
  2. Add the snippet to a type
  3. Run the generator for the Management API models.
  4. The model does not contain a property for the Text element.

Expected behavior

The Guidelines element property to be absent and the Text element property to be included.

Test environment

Sevitas commented 1 year ago

Hi @rebelzach, thanks for submitting the issue. I have prepared a fix in #186.

rebelzach commented 1 year ago

Appreciate the quick fix. Looking forward to its release. 🚀

Sevitas commented 1 year ago

Hi @rebelzach, the fix should be in https://github.com/kontent-ai/model-generator-net/releases/tag/8.3.2. Closing for now.