diff --git a/packages/hoppscotch-backend/src/gql-schema.ts b/packages/hoppscotch-backend/src/gql-schema.ts index dc0121f5c..eb4879a6a 100644 --- a/packages/hoppscotch-backend/src/gql-schema.ts +++ b/packages/hoppscotch-backend/src/gql-schema.ts @@ -74,7 +74,9 @@ export async function emitGQLSchemaFile() { `Generating Schema against ${RESOLVERS.length} resolvers and ${SCALARS.length} custom scalars`, ); - const schema = await gqlSchemaFactory.create(RESOLVERS, SCALARS); + const schema = await gqlSchemaFactory.create(RESOLVERS, SCALARS, { + numberScalarMode: 'integer', + }); const schemaString = printSchema(schema, { commentDescriptions: true,