From a3d98421ca2eb71855f1d0e020063c5d8223b1aa Mon Sep 17 00:00:00 2001 From: Matthew Ratzke Date: Thu, 21 Dec 2023 16:27:14 -0700 Subject: [PATCH] fix: updated federation tests --- .../generated-definitions/federation-partial-query.fixture.ts | 4 ++++ .../tests/generated-definitions/federation-typedef.fixture.ts | 4 ++++ .../apollo/tests/generated-definitions/federation.fixture.ts | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/packages/apollo/tests/generated-definitions/federation-partial-query.fixture.ts b/packages/apollo/tests/generated-definitions/federation-partial-query.fixture.ts index b7b47b1e12..bb705ee5fb 100644 --- a/packages/apollo/tests/generated-definitions/federation-partial-query.fixture.ts +++ b/packages/apollo/tests/generated-definitions/federation-partial-query.fixture.ts @@ -12,4 +12,8 @@ export interface IQuery { foo(): Nullable | Promise>; } +export interface ISchema { + Query: IQuery; +} + type Nullable = T | null; diff --git a/packages/apollo/tests/generated-definitions/federation-typedef.fixture.ts b/packages/apollo/tests/generated-definitions/federation-typedef.fixture.ts index 077085215f..dec890816c 100644 --- a/packages/apollo/tests/generated-definitions/federation-typedef.fixture.ts +++ b/packages/apollo/tests/generated-definitions/federation-typedef.fixture.ts @@ -33,4 +33,8 @@ export class User { posts?: Nullable[]>; } +export class ISchema { + Query: IQuery; +} + type Nullable = T | null; diff --git a/packages/apollo/tests/generated-definitions/federation.fixture.ts b/packages/apollo/tests/generated-definitions/federation.fixture.ts index c662cbee01..08e57c7e02 100644 --- a/packages/apollo/tests/generated-definitions/federation.fixture.ts +++ b/packages/apollo/tests/generated-definitions/federation.fixture.ts @@ -28,4 +28,8 @@ export class User { posts?: Nullable[]>; } +export class ISchema { + Query: IQuery; +} + type Nullable = T | null;