Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

authored by

Jovi De Croock and committed by
GitHub
e9daa02a 4d615b1d

+3 -4
+3 -4
packages/graphqlsp/README.md
··· 95 95 const result = (await client.query()) || useFragment(); 96 96 const [result] = useQuery(); // --> urql 97 97 const { data } = useQuery(); // --> Apollo 98 - // Missing cases: 99 - const { field } = useFragment(); // can't destructure into your data from the start 100 - const [{ data }] = useQuery(); // can't follow array destructuring with object destructuring 98 + const { field } = useFragment(); 99 + const [{ data }] = useQuery(); 101 100 const { 102 101 data: { pokemon }, 103 - } = useQuery(); // can't destructure into your data from the start 102 + } = useQuery(); 104 103 ``` 105 104 106 105 Lastly we don't track mutations/subscriptions as some folks will add additional fields to properly support