21 lines
1002 B
Diff
21 lines
1002 B
Diff
diff --git a/type-graphql.mjs b/type-graphql.mjs
|
|
index 1723cb707fb365a7e68d073093f75960e405a463..4a36c76eeced8c2009c5480a154c150006361e7d 100644
|
|
--- a/type-graphql.mjs
|
|
+++ b/type-graphql.mjs
|
|
@@ -3,7 +3,6 @@ import { GraphQLError, GraphQLScalarType, GraphQLFloat, GraphQLBoolean, GraphQLS
|
|
export { GraphQLFloat as Float, GraphQLID as ID, GraphQLInt as Int } from 'graphql';
|
|
import { GraphQLBigInt, GraphQLDateTimeISO } from 'graphql-scalars';
|
|
export { GraphQLBigInt, GraphQLDateTimeISO as GraphQLISODateTime, GraphQLTimestamp } from 'graphql-scalars';
|
|
-import { PubSub as PubSub$1, withFilter } from 'graphql-subscriptions';
|
|
|
|
class ArgumentValidationError extends GraphQLError {
|
|
constructor(validationErrors) {
|
|
@@ -903,7 +902,7 @@ class BuildContext {
|
|
disableInferringDefaultValues;
|
|
#pubSub;
|
|
get pubSub() {
|
|
- return this.#pubSub ?? (this.#pubSub = new PubSub$1());
|
|
+ return this.#pubSub;
|
|
}
|
|
/**
|
|
* Set static fields with current building context data
|