Skip to content
Source
Sign inSign up
TanStack/query

Exception if variables are undefined #6

Closedjohn-pc(GitHub profile, opens in a new tab) opened this issue 6 comments

If there are no variables defined so it throws an exception. In order to overcome this error i just pass "variables: {}" to all useQuery functions that i use

  1. Could you screenshot the exception and stack trace please?

  2. Noticed that it only happens when i not providing an object as the second parameter

    Screen Shot 2019-10-03 at 17 12 53

  3. Should be an easy fix :) Thanks!

  4. Fixed!

  5. tannerlinsley closed this

  6. This seems to be an issue again, but it's _ref11 now (same function)

  7. Currently working on the next major version. This will be fixed (actually the code causing this error won't even be in the library any more 😄) Stay tuned!

Sign in to join this conversation.