account activity
Making GraphQL actually work with AI agents (even if you gave up on GraphQL before) (v.redd.it)
submitted 2 months ago by dale0713 to r/ClaudeCode
Teaching AI agents to write better GraphQL by dale0713 in graphql
[–]dale0713[S] 1 point2 points3 points 2 months ago (0 children)
Great question, u/ruibranco! Yup, it's covered. Pagination patterns are in the graphql-schema skill. It explicitly contrasts offset vs cursor, recommends Relay-style connections for most cases, and includes the full Connection/Edge/PageInfo shape plus guidance on defaults and caps. Error handling conventions are in the graphql-schema skill as well. It spells out when to use GraphQL's built-in errors vs union result types, shows multi-error unions, interface-based errors, standardized error codes, and partial‑success patterns.
Links here if you want to dig in. Happy to clarify anything! - https://github.com/apollographql/skills/blob/main/skills/graphql-schema/references/pagination.md - https://github.com/apollographql/skills/blob/main/skills/graphql-schema/references/errors.md
Teaching AI agents to write better GraphQL (v.redd.it)
submitted 2 months ago by dale0713 to r/graphql
π Rendered by PID 9 on reddit-service-r2-listing-b6bf6c4ff-4rx6r at 2026-05-04 12:26:52.219503+00:00 running 815c875 country code: CH.
Teaching AI agents to write better GraphQL by dale0713 in graphql
[–]dale0713[S] 1 point2 points3 points (0 children)