apollosolutions / federation-subscription-tools

A set of demonstration utilities to facilitate GraphQL subscription usage alongside a federated data graph
MIT License
106 stars 34 forks source link

Unable to use library in a typescript project #22

Open reduxdj opened 2 years ago

reduxdj commented 2 years ago

I think because this:

import { createHash } from "crypto";

const { gql, makeExecutableSchema } = require("apollo-server");
const { printSchema } = require("graphql")

./src/utils/schema.js