We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having the following problem, I need to dynamically create an object type from the data I get from the database.
However I need the args parameter of the grapqh solving function.
import listResolvers from "../resolvers/listResolvers" import listType from "../types/listType" const listSchema = { list: { type: listType.listType(), args: { schema: { type: new GraphQLNonNull(GraphQLString) }, }, resolve: async (_, args) => { return await listResolvers.get(args.schema) }, } }
my listType() function already creates the type dynamically, but as I said, I need the parameter that is passed in the graphql query
if it were an APIREST it was only the req.params within the function that worked
how to do something like that here in grapqhQl ???
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm having the following problem, I need to dynamically create an object type from the data I get from the database.
However I need the args parameter of the grapqh solving function.
my listType() function already creates the type dynamically, but as I said, I need the parameter that is passed in the graphql query
if it were an APIREST it was only the req.params within the function that worked
how to do something like that here in grapqhQl ???
The text was updated successfully, but these errors were encountered: