@urql/core support for nodes
See original GitHub issueWhen using urql core like this:
import { Client, createClient } from '@urql/core';
const client = createClient({ ... });
const result = await client.query(SomeDocument).toPromise();
The types are not picked up. I guess the current urql implementation targets the main urql library only?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Core / Node.js | urql Documentation
Core and Node.js Usage ... The @urql/core package contains urql 's Client , some common utilities, and some default Exchanges. These are the...
Read more >@urql/core - npm
The shared core for the highly customizable and versatile GraphQL client. ... Start using @urql/core in your project by running `npm i ...
Read more >typescript-urql - GraphQL Code Generator
Usage Requirements In order to use this GraphQL Codegen plugin, please make sure that you have GraphQL operations ( query / mutation ...
Read more >urql/CHANGELOG.md - UNPKG
7, - ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. ... 17, - Bumps the `@urql/core` dependency minor version to ^1.10.1...
Read more >Typed Document Node - Episode #41 - graphql.wtf
We'll explore using the typed-document-node plugin which aims to reduce ... npm install graphql graphql-request @apollo/client @urql/core ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has now been released, so this batch of
urql
releases all have the modifications necessary to supportTypedDocumentNode
s https://github.com/FormidableLabs/urql/pull/1128Alright, the above PR (https://github.com/FormidableLabs/urql/pull/1113) is filed as an RFC on our end for now, so we can get some time to look into this project, how far its adoption is, and… well, to check whether my changes are completely correct 😛
If anyone here has something for
urql
(or similar) set up already, CodeSandbox CI provides test packages for each PR with full builds of our libraries so that this can be fully tested out.