Skip to content

add @mock spec#10

Open
magicmark wants to merge 37 commits intographql:mainfrom
magicmark:mock_spec
Open

add @mock spec#10
magicmark wants to merge 37 commits intographql:mainfrom
magicmark:mock_spec

Conversation

@magicmark
Copy link
Copy Markdown
Contributor

@magicmark magicmark commented Mar 8, 2026

@magicmark magicmark changed the title add @mock spec add @mock spec Mar 8, 2026
magicmark and others added 6 commits March 8, 2026 16:17
Mock data is always included in the response regardless of @Skip or
@include directives on the same field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a value: String argument to @mock that allows inline scalar mock
values directly in the query without needing a mock file. The value and
variant arguments are mutually exclusive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments documenting our discussion earlier today, as well as a few other things I noticed 😄 Thanks for the hard work here!

Comment thread GAP-0/DRAFT.md
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md
Copy link
Copy Markdown

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this! I read through the whole thing and mostly have small nits/comments. Overall this is coming together!

Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/DRAFT.md Outdated
Comment thread GAP-0/SKILL.md Outdated
Comment thread GAP-0/SKILL.md Outdated
Comment thread GAP-0/SKILL.md

The values generated for leaf nodes do not matter and do not need to be
preserved or included in the description - unless otherwise specified by the
user.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would suggest mentioning that aliases should be used in __path__ when present

Comment thread GAP-0/SKILL.md Outdated
Comment thread GAP-0/SKILL.md Outdated

## Schema

Look for the GraphQL schema in <repo_root>/schema.graphql to understand what
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Look for the GraphQL schema in <repo_root>/schema.graphql to understand what
Look for the GraphQL schema in <repo_root>/schema.graphqls to understand what

May want to consider removing the filename here since it's implementation-specific

magicmark and others added 10 commits April 4, 2026 01:38
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Co-authored-by: Michael Rebello <me@michaelrebello.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants