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)
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
Array of String Data Type In GraphQL
I'm just learning GraphQL, but I'm confused with GraphQL schema. I have a GraphQL schema which has a string array data type
My GraphQL Schema like this:
type GetRecommender {
resourceId: Int!
...

Kholid Saifulloh
Votes: 0
Answers: 0
GraphQL use simple object instead create specific type on schema
im new in graphql, and what i want to achieve is simplify this schema:
input UserQueryFilter {
email: String
}
input UserQueryInput {
filter: UserQueryFilter
anotherArgs: String
}
type Use...
FatihAziz
Votes: 0
Answers: 1
Nest js throttler with GraphQL is not working as expected
@Injectable()
export class GqlThrottlerGuard extends ThrottlerGuard {
getRequestResponse(context: ExecutionContext) {
const gqlCtx = GqlExecutionContext.create(context);
const ctx = gqlCtx.g...

Mahesh Kurakula
Votes: 0
Answers: 2