Open davevilela opened 2 years ago
I have the same problem.
Have you tried adding your custom scalars to the types?
const TrueGraphQLScalar = new GraphQLScalarType({
name: 'true',
description: 'Represents true values',
serialize: () => {
return true;
},
parseValue: () => {
return true;
},
parseLiteral: () => {
return true;
},
});
export const True = asNexusMethod(TrueGraphQLScalar, 'true', 'true');
I added this scalar to makeSchema({type: [..., Scalars], ...
I'm trying to deploy my app to vercel, and i keep getting this error when building: Can someone help me?
my schema.ts
build scripts on package.json: