Skip to content

Remove TypeAlias from code source - #359

Merged
Kludex merged 3 commits into
mainfrom
stop-using-type-alias
Aug 5, 2024
Merged

Kludex merged 3 commits into
mainfrom
stop-using-type-alias

Conversation

@Kludex

@Kludex Kludex commented Aug 5, 2024

Copy link
Copy Markdown
Member

The TypeAlias that we have are correctly used, but stubgen doesn't work properly with them. It creates Incomplete types if you use TypeAlias, which on the user's side you have exc_info: Unkown, and for users with strict typing configuration it's bothersome.

@Kludex

Kludex commented Aug 5, 2024

Copy link
Copy Markdown
Member Author

I didn't check the why, nor if they have issues mentioning this, but I don't want to spend more time on this when the fix is simple.

@Kludex
Kludex requested a review from alexmojaki August 5, 2024 19:07
@codecov

codecov Bot commented Aug 5, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bbb11ec) to head (acd088f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #359   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          123       123           
  Lines         9040      9035    -5     
  Branches      1178      1178           
=========================================
- Hits          9040      9035    -5     

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

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9917519
Status: ✅  Deploy successful!
Preview URL: https://14751c11.logfire-docs.pages.dev
Branch Preview URL: https://stop-using-type-alias.logfire-docs.pages.dev

View logs

@Kludex
Kludex enabled auto-merge (squash) August 5, 2024 19:55
@Kludex
Kludex merged commit f4d434d into main Aug 5, 2024
@Kludex
Kludex deleted the stop-using-type-alias branch August 5, 2024 20:07
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