Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit 0bb98fc

Browse files
committed
singular
1 parent 6adba3e commit 0bb98fc

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/GenerateGetOne.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class GenerateGetOne implements TypeGenerator {
3232
this.relations = $relations;
3333
this.fields = {};
3434
this.resolvers = new Map<string, GraphQLFieldResolver<any, any>>();
35-
this.getAllResolvers = $getAll && $getAll.resolvers ? $getAll.resolvers: new Map<string, GraphQLFieldResolver<any, any>>();
35+
this.getAllResolvers = $getAll && $getAll.resolvers ? $getAll.resolvers : new Map<string, GraphQLFieldResolver<any, any>>();
3636

3737
this.generate();
3838
}

src/GraphQLGenie.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ export class GraphQLGenie {
159159
this.generators.push(new GenerateDelete(this.graphQLFortune, 'Mutation', nodeTypes, this.config, currInputObjectTypes, currOutputObjectTypeDefs, this.schemaInfo, this.schema, this.relations));
160160
}
161161

162-
163-
164162
let newTypes = '';
165163
currInputObjectTypes.forEach(inputObjectType => {
166164
// console.log(printType(inputObjectType));

src/GraphQLSchemaBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { GraphQLFieldResolver, GraphQLNonNull, GraphQLObjectType, GraphQLSchema,
33
import { GraphQLDate, GraphQLDateTime, GraphQLTime } from 'graphql-iso-date';
44
import { IResolvers, SchemaDirectiveVisitor, addResolveFunctionsToSchema, makeExecutableSchema } from 'graphql-tools';
55
import GraphQLJSON from 'graphql-type-json';
6-
import { find, has, isEmpty, set, values, camelCase } from 'lodash';
6+
import { camelCase, find, has, isEmpty, set, values } from 'lodash';
77
import pluralize from 'pluralize';
88
import { GenerateConfig } from './GraphQLGenieInterfaces';
99
import { getReturnType, typeIsList } from './GraphQLUtils';

0 commit comments

Comments
 (0)