Specify type of custom scalars

This commit is contained in:
schroda
2024-03-28 17:30:34 +01:00
parent 7990ffda71
commit 511b1f7c5e
6 changed files with 52 additions and 55 deletions

View File

@@ -26,6 +26,10 @@ const config: CodegenConfig = {
typeNames: 'change-case-all#pascalCase',
transformUnderscore: true,
},
scalars: {
LongString: 'string',
Cursor: 'string',
},
},
},
'src/lib/graphql/generated/apollo-helpers.ts': {