Skip to content

Add a query example #3

@jean343

Description

@jean343

When writing custom query, there is no need to add new GraphQLObjectType, only the fields should be passed in.

const schema = mooseql([Category], {
query: {
field1,
field2
}
})

Could you add an example in the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions