Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First step to target fully source gen implementation #1414

Closed

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 against churn like that, but not sure that would be appropriate.

Related to #1389

kant2002 and others added 4 commits September 10, 2022 23:29
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 Apr 13, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9276d6b) 89.50% compared to head (ac8d099) 89.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1414   +/-   ##
=======================================
  Coverage   89.50%   89.50%           
=======================================
  Files          34       34           
  Lines        1715     1715           
=======================================
  Hits         1535     1535           
  Misses        180      180           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants