router icon indicating copy to clipboard operation
router copied to clipboard

Set up a place for body validations & add the first new check

Open dylan-apollo opened this issue 1 year ago • 1 comments

A bunch of refactoring to set us up for body validations—and adds a single check, if you use empty $args with no path but have no arguments defined on the field.

This doesn't use the visitor stuff because we're interested in the opposite info—where's the data coming from, not where is it going to. Left a bunch of TODOs where we should add more validations.

dylan-apollo avatar Oct 11 '24 22:10 dylan-apollo

✅ Docs Preview Ready

No new or changed pages found.

svc-apollo-docs avatar Oct 11 '24 22:10 svc-apollo-docs

We're working on a more general interface for iterating over mapping inputs/outputs. We'll use that for validating bodies instead of the AST directly

dylan-apollo avatar Oct 28 '24 19:10 dylan-apollo