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

Fetch support #975

Merged
merged 1 commit into from
Feb 9, 2020
Merged

Fetch support #975

merged 1 commit into from
Feb 9, 2020

Conversation

stevelacey
Copy link
Contributor

@stevelacey stevelacey commented Sep 24, 2019

Adds support for fetch in addition to xhr, depends on: php-debugbar/php-debugbar#422

Most notably (for me anyway) this gets debugbar working in Apollo-based SPA's and GraphiQL.

@stevelacey
Copy link
Contributor Author

@barryvdh not sure a tagged release is coming anytime soon given there hasn't been one in 2 years... dare I suggest 1.15.x-dev? 🤔

@dtvmedia
Copy link

Hope for approval soon. Would be cool if I could finally use the debugbar for fetch requests 👍

@stevelacey stevelacey requested a review from barryvdh January 25, 2020 05:24
@stevelacey
Copy link
Contributor Author

stevelacey commented Jan 25, 2020

@barryvdh have rebased this, this will make fetch support work by default – and requires the minimum version to up to 1.15.1 where you tagged the merge of fetch support in php-debugbar/php-debugbar#422

Can you merge and tag this? 🙏

@barryvdh
Copy link
Owner

Shouldn't it only load to fetch? Won't we get duplicates now?

@stevelacey
Copy link
Contributor Author

@barryvdh hm? no? Fetch doesn’t come through as XHR, debugbar is currently oblivious to any fetch based requests

@stevelacey
Copy link
Contributor Author

@barryvdh ping

@barryvdh barryvdh merged commit 7afc4a4 into barryvdh:master Feb 9, 2020
@stevelacey stevelacey deleted the fetch-support branch February 29, 2020 04:47
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.

3 participants