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

145 fix custom partial generation #146

Closed Sevitas closed 2 years ago

Sevitas commented 2 years ago

Motivation

Fixes #145

Checklist

How to test

Check if regenerated partial management models are not modified

codecov[bot] commented 2 years ago

Codecov Report

Merging #146 (987df82) into vNext (9614593) will decrease coverage by 2.76%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            vNext     #146      +/-   ##
==========================================
- Coverage   89.90%   87.13%   -2.77%     
==========================================
  Files          23       23              
  Lines         832      832              
  Branches       78       77       -1     
==========================================
- Hits          748      725      -23     
- Misses         82       89       +7     
- Partials        2       18      +16     
Impacted Files Coverage Δ
...Generator.Core/Common/ClassCodeGeneratorFactory.cs 100.00% <100.00%> (ø)
...o.Kontent.ModelGenerator.Core/CodeGeneratorBase.cs 49.36% <0.00%> (-8.87%) :arrow_down:
...rator.Core/Generators/TypeProviderCodeGenerator.cs 78.12% <0.00%> (-7.82%) :arrow_down:
...c/Kentico.Kontent.ModelGenerator/ArgumentParser.cs 90.00% <0.00%> (-4.29%) :arrow_down:
...or.Core/Generators/Class/BaseClassCodeGenerator.cs 86.27% <0.00%> (-3.93%) :arrow_down:
src/Kentico.Kontent.ModelGenerator/Program.cs 83.87% <0.00%> (-3.23%) :arrow_down:
...ntent.ModelGenerator.Core/DeliveryCodeGenerator.cs 74.68% <0.00%> (-2.54%) :arrow_down:
...ent.ModelGenerator.Core/ManagementCodeGenerator.cs 87.27% <0.00%> (-1.82%) :arrow_down:
...ico.Kontent.ModelGenerator.Core/Common/Property.cs 96.61% <0.00%> (-1.70%) :arrow_down:

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 9614593...987df82. Read the comment docs.