Skip to content

Commit 68f0a72

Browse files
committed
chore: update
1 parent 50969db commit 68f0a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fieldsConverter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export function convertModelToGraphQL<TDoc extends Document, TContext>(
184184

185185
let type = convertFieldToGraphQL(mongooseField, typeName, sc);
186186

187-
// in mongoose schema we use javascript `Number` object which casted to `Float` type
187+
// in mongoose schema we use JavaScript `Number` object which cast to `Float` type
188188
// so in most cases _id field is `Int`
189189
if (fieldName === '_id' && type === 'Float') {
190190
type = 'Int';

0 commit comments

Comments
 (0)