Skip to content

Commit

Permalink
revert removal of url import
Browse files Browse the repository at this point in the history
Revert change made in #2293, the router uses deno for the router-bridge, and url is not built in (#2451)
  • Loading branch information
clenfest committed Mar 10, 2023
1 parent 3f2045f commit 7bc0f8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/dirty-phones-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@apollo/federation-internals": patch
---

Revert #2293. Removing URL import causes a problem when running under deno.

1 change: 1 addition & 0 deletions internals-js/src/coreSpec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ASTNode, DirectiveLocation, GraphQLError, StringValueNode } from "graphql";
import { URL } from "url";
import { CoreFeature, Directive, DirectiveDefinition, EnumType, ErrGraphQLAPISchemaValidationFailed, ErrGraphQLValidationFailed, InputType, ListType, NamedType, NonNullType, ScalarType, Schema, SchemaDefinition, SchemaElement, sourceASTs } from "./definitions";
import { sameType } from "./types";
import { assert, firstOf } from './utils';
Expand Down

0 comments on commit 7bc0f8e

Please sign in to comment.