Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove errant duplicated text #10046

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

henryqdineen
Copy link
Contributor

@henryqdineen henryqdineen commented Aug 28, 2022

Reading though the docs for the first time in a while and I noticed a paragraph that was out of place and apparently duplicated from one that is earlier in the document.

Original blurb:

If a field accepts arguments, the `read` function's second parameter includes the values of those arguments.
The following `read` function checks whether the `maxLength` argument is provided when the `name` field is queried. If it is, the function returns only the first `maxLength` characters of the person's name. Otherwise, the person's full name is returned.

Duplicate (removed in this PR):

If a field accepts arguments, the second parameter includes the values of those arguments. The following `read` function checks to see if the `maxLength` argument is provided when the `name` field is queried. If it is, the function returns only the first `maxLength` characters of the person's name. Otherwise, the person's full name is returned.

@StephenBarlow
Copy link
Contributor

Good catch, thanks @henryqdineen!

@StephenBarlow StephenBarlow merged commit 88be842 into apollographql:main Aug 29, 2022
PowerKiKi pushed a commit to PowerKiKi/apollo-client that referenced this pull request Aug 30, 2022
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants