chore: add numberScalarMode for schema gen as well
This commit is contained in:
@@ -74,7 +74,9 @@ export async function emitGQLSchemaFile() {
|
|||||||
`Generating Schema against ${RESOLVERS.length} resolvers and ${SCALARS.length} custom scalars`,
|
`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, {
|
const schemaString = printSchema(schema, {
|
||||||
commentDescriptions: true,
|
commentDescriptions: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user