forked from connectrpc/connect-query-es
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove experimental plugin (connectrpc#178)
`@tanstack/react-query` v5 is introducing some major changes to their types and also introduce suspense specific APIs (useSuspenseQuery, useSuspenseInfiniteQuery, and useSuspenseQueries). These APIs are pretty easy to integrate with the original plugin (non-react specific) but would need an additional two APIs generated for every service method. This starts to create a lot of noise with our auto-complete options: As an example, if we have a service method called `say`, we now must generate `useSayQuery`, `useSayInfiniteQuery`, `useSayMutation`, `useSaySuspenseQuery`, and `useSaySuspenseInfiniteQuery`. This is increasingly making a lot of noise when just trying to use the `say` method from a service. This is much worse with larger service method names. In keeping with best practices (limiting the number of ways to do a single thing), we've decided to remove this plugin from the repo.
- Loading branch information
1 parent
34b7169
commit ee30d41
Showing
18 changed files
with
0 additions
and
1,748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
packages/protoc-gen-connect-query-react/bin/protoc-gen-connect-query-react
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
packages/protoc-gen-connect-query-react/snapshots/buf.gen.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.