We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb71cd commit c2fd2bcCopy full SHA for c2fd2bc
1 file changed
packages/apollo-graphql/src/schema/buildSchemaFromSDL.ts
@@ -238,7 +238,7 @@ export function addResolversToSchema(
238
const newValues: { [key: string]: GraphQLEnumValue } = {};
239
values.forEach(value => {
240
let newValue = (fieldConfigs as any)[value.name];
241
- if (newValue == undefined) {
+ if (newValue === undefined) {
242
newValue = value.name;
243
}
244
newValues[value.name] = {
0 commit comments