canhorn / EventHorizon.Blazor.TypeScript.Interop.Generator

This project is a Blazor Interop C# Generator, has a sample against the BabylonJS library.
https://wonderful-pond-05f7b3b10.azurestaticapps.net/
MIT License
132 stars 19 forks source link

Action Result Callback Support #45

Closed canhorn closed 3 years ago

canhorn commented 3 years ago

Added support for an Action Result to have return an expected result when called from the JavaScript layer. New namespace was added causing all test results to change.

The generated code was updated, causing all files to change because of namespace and new support for action results.

codecov[bot] commented 3 years ago

Codecov Report

Merging #45 (5e7dd7a) into dev (0750eb3) will decrease coverage by 0.01%. The diff coverage is 97.77%.

:exclamation: Current head 5e7dd7a differs from pull request most recent head ae921c0. Consider uploading reports for the commit ae921c0 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #45      +/-   ##
==========================================
- Coverage   98.86%   98.85%   -0.02%     
==========================================
  Files          92       92              
  Lines        4239     4275      +36     
  Branches      381      384       +3     
==========================================
+ Hits         4191     4226      +35     
  Misses         18       18              
- Partials       30       31       +1     
Impacted Files Coverage Δ
...t.Interop.Generator/Writers/TypeStatementWriter.cs 98.24% <96.29%> (-0.68%) :arrow_down:
...nterop.Generator.Model/Statements/TypeStatement.cs 100.00% <100.00%> (ø)
...rop.Generator/Identifiers/GenericTypeIdentifier.cs 100.00% <100.00%> (ø)
....Interop.Generator/Model/TypeStatementTemplates.cs 100.00% <100.00%> (ø)

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 0750eb3...ae921c0. Read the comment docs.