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

feat: make all adapters available on all platforms #376

Merged
merged 3 commits into from
Mar 9, 2023
Merged

Conversation

KnorpelSenf
Copy link
Member

This PQ makes all frameworks available on all platforms by no longer splitting them up between files.

This has a number of benefits:

  • greatly simplifies the framework setup
  • no longer makes any assumptions about where adapters exist and where they don't, as many web frameworks actually get ported between the various runtimes
  • removes a cyclic dependency between files

@kraftwerk28 can you review this?

Copy link
Member

@dcdunkan dcdunkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@rojvv rojvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber-stamp LGTM.

@KnorpelSenf
Copy link
Member Author

@dcdunkan @roj1512 can you share which adapters you've tested?

@rojvv
Copy link
Member

rojvv commented Mar 9, 2023

None

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 8.19% and project coverage change: -0.78 ⚠️

Comparison is base (23fa95d) 36.31% compared to head (15f261d) 35.54%.

📣 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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
- Coverage   36.31%   35.54%   -0.78%     
==========================================
  Files          18       16       -2     
  Lines        4646     4727      +81     
  Branches      166      166              
==========================================
- Hits         1687     1680       -7     
- Misses       2957     3045      +88     
  Partials        2        2              
Impacted Files Coverage Δ
src/convenience/frameworks.ts 6.97% <6.97%> (ø)
src/convenience/webhook.ts 7.69% <100.00%> (-1.01%) ⬇️
src/platform.deno.ts 84.00% <100.00%> (+1.39%) ⬆️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@KnorpelSenf
Copy link
Member Author

Did other manual testing, merging.

@KnorpelSenf KnorpelSenf merged commit 283a72b into main Mar 9, 2023
@KnorpelSenf KnorpelSenf deleted the merge-adapters branch March 9, 2023 10:16
@dcdunkan
Copy link
Member

dcdunkan commented Mar 9, 2023

@dcdunkan @roj1512 can you share which adapters you've tested?

Uhh... none. I just LGTM-ed the changes because they looked good to me :D

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.

None yet

4 participants