Skip to content

Conversation

@kant2002
Copy link

I extract simple model for Refit client representation withing source gen That to allow facilitate process

  • Parse Syntax (done by Roslyn itslef)
  • Build internal model
  • Write based on model only, so logic would be as simple as possible

Also that allows write more robust test if we test just internal model extraction from symbols. Otherwise if we will capture generated output, if we decide improve generation it will produce a lot of churn. I do not agains churn like that, but not sure that's would be appropriate.

Related to #1389

kant2002 and others added 2 commits June 29, 2024 19:35
I extract simple model for Refit client representation withing source gen
That to allow facilitate process
- Parse Syntax (done by Roslyn itslef)
- Build internal model
- Write based on model only, so logic would be as simple as possible

Also that allows write more robust test if we test just internal model extraction from symbols. Otherwise if we will capture generated output, if we decide improve generation it will produce a lot of churn. I do not agains churn like that, but not sure that's would be appropriate.
@codecov
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.66%. Comparing base (6ebeda5) to head (9bdb28b).
Report is 170 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1746      +/-   ##
==========================================
- Coverage   87.73%   83.66%   -4.08%     
==========================================
  Files          33       36       +3     
  Lines        2348     2442      +94     
  Branches      294      345      +51     
==========================================
- Hits         2060     2043      -17     
- Misses        208      316     +108     
- Partials       80       83       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants