Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-26-2020 11:05 PM
Hi everyone, does somebody knows if it's possible to set a default limit(first) on queries
for example
const schema = makeAugmentedSchema({
typeDefs,
config: {
query: {
defaultFirst: 1000(to response the first 1K)
exclude: ['RatingCount'],
},
mutation: {
exclude: ['RatingCount'],
},
},
})
08-27-2020 05:30 AM
Hello Csanchezz, welcome to the community! The short answer is no, you'd need to specify that number in your GraphQL query with a filter, or in your schema. Those are included out of the box and you can limit them up however you like, as well apply other filters. https://grandstack.io/docs/graphql-filtering#filter-criteria
All the sessions of the conference are now available online