feat: surface content-relationship --field flag in help text#153
Merged
angeloashmore merged 3 commits intomainfrom Apr 18, 2026
Merged
feat: surface content-relationship --field flag in help text#153angeloashmore merged 3 commits intomainfrom
angeloashmore merged 3 commits intomainfrom
Conversation
Adds a FETCHED FIELDS section explaining how --field fetches specific fields from related documents, eliminating the need for graphQuery or fetchLinks. Resolves #140 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
angeloashmore
commented
Apr 18, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
angeloashmore
commented
Apr 18, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #140
Description
Adds a FETCHED FIELDS section to
prismic field add content-relationship --helpexplaining how--fieldfetches specific fields from related documents, its requirements, and dot notation support.Checklist
Preview
How to QA 1
Run
prismic field add content-relationship --helpand verify the FETCHED FIELDS section appears.Note
Low Risk
Low risk: this PR only updates CLI help text/documentation for the content-relationship field and does not change command behavior or data handling.
Overview
Adds a new "FETCHED FIELDS" section to
prismic field add content-relationship --helpexplaining what--fielddoes (fetching specific fields from linked documents), that it requires exactly one--custom-type, and that dot-notation is supported for nested/group fields.Reviewed by Cursor Bugbot for commit 287d868. Bugbot is set up for automated code reviews on this repo. Configure here.
Footnotes
Please use these labels when submitting a review:
⚠️ #issue: Strongly suggest a change.
❓ #ask: Ask a question.
💡 #idea: Suggest an idea.
🎉 #nice: Share a compliment. ↩