python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why is my GraphQL Query using curlopt_postfields returning a json error?
I'm trying to get some code of mine to work. but I keep getting the following error. Any thoughts on what's going wrong here? I think I have all the quoatations escaped correctly
{"errors":...
Jason M.
Votes: 0
Answers: 1
How can I sanitize / serialize input data with @nestjs/graphql
I'm working on a NestJs app with graphql, and I'm trying to sanitize my resolvers inputs with class-transformer like this :
@InputType()
export class CreateUserInput {
@Field(() => String)
@Tra...
Hbd770
Votes: 0
Answers: 1
Custom GraphQL Error types for Validation
Is this possible to set custom GraphQL Error types for at least BAD_USER_INPUT code?
On the backend I've got an error type something like this:
throw {
type: 'ValidationError',
code: 422,
...

user16373392
Votes: 0
Answers: 1
Angular router - dynamic routes from graphQL
I am banging my head against the monitor for the last day and a half..
We are working on a headless website, front-end will be decoupled from back end. And we have some issues.
1.) I am trying to dyna...

Matej Šranc
Votes: 0
Answers: 0