diff --git a/projects/poweredsoft/ngx-data-apollo/src/lib/GraphQLDataSourceOptionsBuilder.ts b/projects/poweredsoft/ngx-data-apollo/src/lib/GraphQLDataSourceOptionsBuilder.ts index 62216d2..5197781 100644 --- a/projects/poweredsoft/ngx-data-apollo/src/lib/GraphQLDataSourceOptionsBuilder.ts +++ b/projects/poweredsoft/ngx-data-apollo/src/lib/GraphQLDataSourceOptionsBuilder.ts @@ -11,7 +11,7 @@ import { ApolloError } from 'apollo-client'; export class GraphQLDataSourceOptionsBuilder { - private _commands: { [key: string] : IDataSourceCommandAdapterOptions }; + private _commands: { [key: string] : IDataSourceCommandAdapterOptions } = {}; private _beforeRead: (TQuery: IGraphQLAdvanceQueryInput) => Observable>; querySelect: string;