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

[spiral/router] Opening of http.request scope added #1069

Merged
merged 16 commits into from
Jan 29, 2024

Conversation

msmakouz
Copy link
Member

@msmakouz msmakouz commented Jan 23, 2024

Q A
Bugfix?
Breaks BC?
New feature? ✔️

What was changed

Opening of http.request scope added, Proxy attributes added to get dependencies in the correct scope.

111

@msmakouz msmakouz added this to the 3.12 milestone Jan 23, 2024
@msmakouz msmakouz self-assigned this Jan 23, 2024
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (460ecc9) 89.53% compared to head (a337cb4) 89.49%.
Report is 33 commits behind head on feature/scopes.

Files Patch % Lines
src/Framework/Bootloader/Http/HttpBootloader.php 64.70% 6 Missing ⚠️
src/Boot/src/AbstractKernel.php 95.83% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##             feature/scopes    #1069      +/-   ##
====================================================
- Coverage             89.53%   89.49%   -0.04%     
- Complexity             6318     6327       +9     
====================================================
  Files                   824      825       +1     
  Lines                 17799    17831      +32     
====================================================
+ Hits                  15936    15958      +22     
- Misses                 1863     1873      +10     

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

@msmakouz msmakouz marked this pull request as draft January 24, 2024 08:33
@msmakouz msmakouz marked this pull request as ready for review January 24, 2024 17:11
return $this->app->getHttp()->handle(
$this->request($uri, 'POST', [], $headers, $cookies)->withParsedBody($data)
return $this->app->getContainer()->runScope(
new Scope(ScopeName::Http),
Copy link
Member

Choose a reason for hiding this comment

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

we will come up with better name for the enum before release

@msmakouz msmakouz merged commit 004d36d into feature/scopes Jan 29, 2024
13 checks passed
@msmakouz msmakouz deleted the feature/http-request-scope branch January 29, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants