Replies: 1 comment 4 replies
-
We will improve this error message, but the general idea is that you're not supposed to instantiate the Why are you using this pattern to create queries rather than using models? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Try to use the
Query
class to build a query.Got a runtime error:
The code line that throws this error is here
Why
query._queryMiddleware
isundefined
? Did I build the query correctly? There is no post middleware in my code.Beta Was this translation helpful? Give feedback.
All reactions