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

158 track usage of generators sdk #175

Closed Sevitas closed 1 year ago

Sevitas commented 1 year ago

Motivation

Fixes #158

Checklist

How to test

check if source header for generators is logged, both for mapi/dapi

codecov-commenter commented 1 year ago

Codecov Report

Merging #175 (7f82337) into master (a358d6c) will decrease coverage by 2.33%. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   90.00%   87.67%   -2.33%     
==========================================
  Files          27       27              
  Lines         860      860              
  Branches       81       80       -1     
==========================================
- Hits          774      754      -20     
- Misses         83       89       +6     
- Partials        3       17      +14     
Impacted Files Coverage Δ
...ontent.Ai.ModelGenerator.Core/CodeGeneratorBase.cs 48.10% <0.00%> (-8.87%) :arrow_down:
src/Kontent.Ai.ModelGenerator/Program.cs 55.81% <0.00%> (-6.98%) :arrow_down:
...rator.Core/Generators/TypeProviderCodeGenerator.cs 84.12% <0.00%> (-6.35%) :arrow_down:
...nerator.Core/Configuration/CodeGeneratorOptions.cs 85.71% <0.00%> (-3.58%) :arrow_down:
...nt.Ai.ModelGenerator.Core/DeliveryCodeGenerator.cs 74.68% <0.00%> (-2.54%) :arrow_down:
...or.Core/Generators/Class/BaseClassCodeGenerator.cs 94.23% <0.00%> (-1.93%) :arrow_down:
....Ai.ModelGenerator.Core/ManagementCodeGenerator.cs 87.27% <0.00%> (-1.82%) :arrow_down:
.../Kontent.Ai.ModelGenerator.Core/Common/Property.cs 96.77% <0.00%> (-1.62%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more