Skip to content

Commit 238984d

Browse files
authored
Merge pull request #60 from indigotech/bugfix/wrong-condition
Remove wrong &&
2 parents 2220f3a + f7d983d commit 238984d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Added @InterfaceType decorator - [#46](https://github.com/indigotech/graphql-schema-decorator/pull/46) - [@felipesabino](https://github.com/felipesabino)
1818
- Added @After middleware decorator - [#56](https://github.com/indigotech/graphql-schema-decorator/pull/56) - [@marcelorisse](https://github.com/marcelorisse)
1919
- Bugfix - @After middleware changing return type - [#58](https://github.com/indigotech/graphql-schema-decorator/pull/58) - [@felipesabino](https://github.com/felipesabino)
20+
- Removed wrong comparison on description - [#60](https://github.com/indigotech/graphql-schema-decorator/pull/60) - [@askmon](https://github.com/askmon)
2021

2122
### Breaking changes
2223

src/type-factory/order-by.type-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class OrderByTypeFactory {
1010
let valuesDict: { [name: string]: any; } = {};
1111
values.forEach((value: any) => {
1212
valuesDict[value.name] = {
13-
description: value.description && value.description,
13+
description: value.description,
1414
};
1515
});
1616
return new GraphQLEnumType({

0 commit comments

Comments
 (0)