Package Exports
- apollo-undici
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apollo-undici) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
apolo graphql client using the undici http library
const { GraphqlClient } = require('./index.js');
const gqlClient = new GraphqlClient('http://localhost:8080');
const { users } = await gqlClient.query(`query{users{id,name,email}}`)