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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hasInjectionContext() for libraries #8111

Merged
merged 1 commit into from Apr 20, 2023
Merged

Conversation

posva
Copy link
Member

@posva posva commented Apr 18, 2023

No description provided.

@yyx990803 yyx990803 merged commit 5510ce3 into main Apr 20, 2023
14 checks passed
@yyx990803 yyx990803 deleted the feat/hasInjectionContext branch April 20, 2023 02:12
IAmSSH pushed a commit to IAmSSH/core that referenced this pull request May 14, 2023
posva added a commit to posva/tanstack-query-fork that referenced this pull request Aug 18, 2023
This feature requires Vue 3.3.0, which has been out for a while now. It
allows using vue-query APIs in places where it is valid to use them but
currently throws an error.

- `hasInjectionContext()`: vuejs/core#8111
- `app.runWithContext()`: vuejs/core#7451
DamianOsipiuk pushed a commit to posva/tanstack-query-fork that referenced this pull request Aug 25, 2023
This feature requires Vue 3.3.0, which has been out for a while now. It
allows using vue-query APIs in places where it is valid to use them but
currently throws an error.

- `hasInjectionContext()`: vuejs/core#8111
- `app.runWithContext()`: vuejs/core#7451
DamianOsipiuk pushed a commit to posva/tanstack-query-fork that referenced this pull request Aug 25, 2023
This feature requires Vue 3.3.0, which has been out for a while now. It
allows using vue-query APIs in places where it is valid to use them but
currently throws an error.

- `hasInjectionContext()`: vuejs/core#8111
- `app.runWithContext()`: vuejs/core#7451
DamianOsipiuk added a commit to TanStack/query that referenced this pull request Aug 30, 2023
* feat(vue-query): support injectable contexts

This feature requires Vue 3.3.0, which has been out for a while now. It
allows using vue-query APIs in places where it is valid to use them but
currently throws an error.

- `hasInjectionContext()`: vuejs/core#8111
- `app.runWithContext()`: vuejs/core#7451

* refactor: add dev warning for effectScope

* fix: add memory leak warnings, fix tests

* chore: bump vue-demi

* chore: bump vue version in integrations

---------

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
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

2 participants