Skip to content

Add field selection map to types chapter - #238

Open
michaelstaib wants to merge 2 commits into
mainfrom
mst/shared-types
Open

michaelstaib wants to merge 2 commits into
mainfrom
mst/shared-types

Conversation

@michaelstaib

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings September 10, 2026 15:44
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for composite-schemas ready!

Name Link
🔨 Latest commit 0699409
🔍 Latest deploy log https://app.netlify.com/projects/composite-schemas/deploys/6aa2d2614477c90008b0b919
😎 Deploy Preview https://deploy-preview-238--composite-schemas.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The moved spec text includes at least one invalid GraphQL example (and a grammatical error), which should be corrected to keep the specification copy/pasteable and unambiguous.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR relocates the FieldSelectionMap specification from an appendix into the main “Shared Types” chapter, and updates internal references accordingly.

Changes:

  • Move the FieldSelectionMap scalar specification content into Section 6 -- Shared Types.md.
  • Rename the shared scalar from FieldSelection to FieldSelectionSet and document it alongside FieldSelectionMap.
  • Remove the Appendix A entry from the spec index and update composition text to reference “Shared Types” instead of “Appendix A”.
File summaries
File Description
spec/Spec.md Removes the Appendix A link from the spec table of contents.
spec/Section 6 -- Shared Types.md Adds FieldSelectionSet and moves/embeds the full FieldSelectionMap spec content into the shared types chapter.
spec/Section 4 -- Composition.md Updates references from “Appendix A” to “Shared Types” for selection-map validation rules.
spec/Appendix A -- Field Selection.md Removes the appendix file contents (effectively relocating the material).
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +286 to +288
type Product {
shippingCost(partIds: @require(field: "parts[id]")): Currency
}
Comment on lines +1002 to +1003
Every field provided in an selected object value must be defined in the set of
possible fields of that input object's expected type.

This branch has not been deployed

No deployments
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.

2 participants