Skip to content

Commit 7bc0f8e

Browse files
authored
revert removal of url import
Revert change made in #2293, the router uses deno for the router-bridge, and url is not built in (#2451)
1 parent 3f2045f commit 7bc0f8e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/dirty-phones-refuse.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@apollo/federation-internals": patch
3+
---
4+
5+
Revert #2293. Removing URL import causes a problem when running under deno.
6+

internals-js/src/coreSpec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { ASTNode, DirectiveLocation, GraphQLError, StringValueNode } from "graphql";
2+
import { URL } from "url";
23
import { CoreFeature, Directive, DirectiveDefinition, EnumType, ErrGraphQLAPISchemaValidationFailed, ErrGraphQLValidationFailed, InputType, ListType, NamedType, NonNullType, ScalarType, Schema, SchemaDefinition, SchemaElement, sourceASTs } from "./definitions";
34
import { sameType } from "./types";
45
import { assert, firstOf } from './utils';

0 commit comments

Comments
 (0)