Closed bete7512 closed 10 months ago
Hmm, your code should work. Anyway, you can define a reusable type instead.
type BigInt int
func (bi BigInt) GetGraphQLType() string {
return "bigint"
}
or use the ConstructQuery
function to print the GraphQL string output for debugging
variable 'userId' is declared as 'Int', but used where 'bigint' is expected, Locations: [], Extensions: map[code:validation-failed path:$.selectionSet.insertUsersUserRolesOne.args.object.userId] I tried this
1,
2,also I tried
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES=true
then I sent userId as a string but still doesnot workthanks