question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

QueryCache is private

See original GitHub issue

Hi,

I’m coming to vue-query after using react-query and the QueryCache is very powerful feature. Looking at the exports of this library QueryCache is missing.

https://github.com/DamianOsipiuk/vue-query/blob/main/src/index.ts

Is there a reason that this feature is being omitted in vue-query or can we expose it? Note, I’d be happy to create the PR.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
RyanAtViceSoftwarecommented, Jun 25, 2021

@DamianOsipiuk I made the change but when I try and push my branch it’s giving me auth errors. Do you need to add me or do I need to fork or something?

vue-query-official on  38-QueryCache-is-private is 📦 v1.0.0-semantic via  v14.16.1 took 9s 
❯ git push --set-upstream origin 38-QueryCache-is-private
Username for 'https://github.com': ryan@vicesoftware.com
Password for 'https://ryan@vicesoftware.com@github.com': 
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/DamianOsipiuk/vue-query.git/'
Read more comments on GitHub >

github_iconTop Results From Across the Web

how can one get all live (active) queries? #3384 - GitHub
According to Typescript, the property 'queries' is private and only accessible within class 'QueryCache'. However, as mentioned before, ...
Read more >
Using React-Query QueryCache from another component
Using React-Query QueryCache from another component ... I would like to keep the data in the queryCache and not hoist it either.
Read more >
React query and Private Routing? : r/reactjs - Reddit
So I have a Private wrapper component with prop children, that basically has a simple function of checking for user (in react query...
Read more >
Module: Mongo::QueryCache - MongoDB
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be...
Read more >
Disable query cache | BigQuery - Google Cloud
queryDisableCache demonstrates issuing a query and requesting that the query cache is bypassed. func queryDisableCache(w io.Writer, projectID string) error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found