chore: add numberScalarMode for schema gen as well
This commit is contained in:
parent
c611b39f52
commit
2244fb0523
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue