apache / apache/grails-core

Automatically add pagination arguments for fields that represent a GORM 1-to-Many association

Open
#14,492 0 comments 0 reactions 0 assignees View on GitHub
relates-to: grails-data-graphql
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

Right now the default is to return everything. In most applications, that can easily bring things to a crashing halt. I believe this should be pretty straightforward once grails/grails-data-graphql#56 is in, but would appreciate any insights others might have.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing grails/grails-data-graphql#56 and the GraphQL handling for GORM 1-to-Many association fields. Determine where pagination arguments should be added so these fields no longer return everything by default; done means the affected fields expose pagination arguments and limit their results accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.