From 956e8259f46c92cee15e6e979101c696acdb0c71 Mon Sep 17 00:00:00 2001 From: Florian Mettetal Date: Sun, 9 Dec 2018 12:29:49 -0800 Subject: [PATCH] fix #308 --- packages/apollo-link-state/src/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/apollo-link-state/src/utils.ts b/packages/apollo-link-state/src/utils.ts index 83eb9ce..d052a8a 100644 --- a/packages/apollo-link-state/src/utils.ts +++ b/packages/apollo-link-state/src/utils.ts @@ -1,6 +1,7 @@ // importing print is a reasonable thing to do, since Apollo Link Http requires // it to be present -import { DocumentNode, DirectiveNode, print } from 'graphql'; +import { DocumentNode, DirectiveNode } from 'graphql'; +import { print } from 'graphql/language/printer'; import { checkDocument, removeDirectivesFromDocument } from 'apollo-utilities';