Skip to content

Update react adapter to v4 #299

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

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

WyriHaximus
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets php-http/react-adapter#50, php-http/react-adapter#56, php-http/react-adapter#57, and php-http/react-adapter#58
Documentation if this is a new feature, link to pull request in https://github.com/php-http/documentation that adds relevant documentation
License MIT

@WyriHaximus
Copy link
Contributor Author

@dbu As promised, here is the docs PR.

@@ -76,6 +64,18 @@ Or send asynchronous ones::
// Returns a Http\Promise\Promise
$promise = $adapter->sendAsyncRequest(request);

Note that since v4 calling `wait` on `Http\Promise\Promise` is expected to ran inside a fiber::
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Note that since v4 calling `wait` on `Http\Promise\Promise` is expected to ran inside a fiber::
Note that since v4 calling `wait` on `Http\Promise\Promise` is expected to run inside a fiber::

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@dbu
Copy link
Contributor

dbu commented Nov 14, 2022

thanks for updating the doc! just a typo i think, otherwise looks good

@WyriHaximus WyriHaximus force-pushed the update-react-adapter-to-v4 branch from 1c891df to dd3d5f2 Compare November 14, 2022 12:45
@WyriHaximus
Copy link
Contributor Author

Updated 👍

@dbu dbu merged commit eb2bcfa into php-http:master Nov 15, 2022
@dbu
Copy link
Contributor

dbu commented Nov 15, 2022

thanks!

@WyriHaximus WyriHaximus deleted the update-react-adapter-to-v4 branch November 18, 2022 19:36
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