Commit 45767b9
committed
feat(codegen): add pagination, offset, and field selection to CLI list commands
- Parse --limit, --offset, --fields flags in generated handleList handlers
- Use buildSelectFromPaths utility for custom field projection
- Build findManyArgs with conditional spread for first/offset pagination
- Update MCP tool schemas with limit/offset/fields input properties
- Update skill docs with pagination and field selection examples
- Update usage text to document new list options1 parent 41c6b7e commit 45767b9
3 files changed
Lines changed: 447 additions & 91 deletions
File tree
- graphql/codegen/src
- __tests__/codegen/__snapshots__
- core/codegen/cli
0 commit comments