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

(urql/vue) - provide the client as a ref so changes are observed #2047

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

JoviDeCroock
Copy link
Collaborator

fixes #2046

Summary

We need to provide the client as a Ref for changes to be observed.

Set of changes

  • change provided signature from Client to Ref<Client>

@changeset-bot
Copy link

changeset-bot bot commented Oct 26, 2021

🦋 Changeset detected

Latest commit: 9df8383

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@urql/vue Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock merged commit 9beb07e into main Oct 27, 2021
@JoviDeCroock JoviDeCroock deleted the provide-as-ref branch October 27, 2021 16:13
@urql-ci urql-ci mentioned this pull request Oct 27, 2021
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.

(@urql/vue) - passing Ref<Client> to provideClient and changing the ref does not replace client
2 participants