Replies: 2 comments 2 replies
-
Do you suggest skipping DI? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which @ngneat/query-* package(s) are relevant/releated to the feature request?
query
Description
For any query or mutation you first need to inject a token and the use it, for example
private useQuery = inject(UseQuery);
andthis.useQuery(...)
. This could be optimized by exporting a function which includes both lines.Proposed solution
Alternatives considered
Do you want to create a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions