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

Feature/90 generate known types #148

Closed Sevitas closed 2 years ago

Sevitas commented 2 years ago

Motivation

Fixes #90

Checklist

How to test

Generate extended models, everything else should work as before

codecov[bot] commented 2 years ago

Codecov Report

Merging #148 (9e1fb6e) into master (d978779) will increase coverage by 1.43%. The diff coverage is 91.05%.

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
+ Coverage   88.21%   89.64%   +1.43%     
==========================================
  Files          25       31       +6     
  Lines         840     1024     +184     
  Branches       76      102      +26     
==========================================
+ Hits          741      918     +177     
- Misses         83       87       +4     
- Partials       16       19       +3     
Impacted Files Coverage Δ
...o.Kontent.ModelGenerator.Core/CodeGeneratorBase.cs 51.89% <0.00%> (+2.53%) :arrow_up:
...Generators/Class/DeliveryClassCodeGeneratorBase.cs 100.00% <ø> (ø)
src/Kentico.Kontent.ModelGenerator/Program.cs 84.70% <81.48%> (+0.83%) :arrow_up:
...t.ModelGenerator.Core/DeliveryCodeGeneratorBase.cs 84.00% <84.00%> (ø)
...or.Core/Generators/Class/BaseClassCodeGenerator.cs 92.45% <87.50%> (-1.78%) :arrow_down:
...Core/Helpers/ContentTypeToDeliverTypeNameMapper.cs 89.28% <89.28%> (ø)
...delGenerator.Core/ExtendedDeliveryCodeGenerator.cs 89.70% <89.70%> (ø)
...Generator.Core/Common/ClassCodeGeneratorFactory.cs 100.00% <100.00%> (ø)
...tent.ModelGenerator.Core/Common/ClassDefinition.cs 100.00% <100.00%> (ø)
...ico.Kontent.ModelGenerator.Core/Common/Property.cs 97.70% <100.00%> (+1.09%) :arrow_up:
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d978779...9e1fb6e. Read the comment docs.

Sevitas commented 2 years ago

Chages:

note: Naming is not final