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

Adding tests for partial data #377

Merged
merged 6 commits into from
Jul 7, 2022
Merged

Adding tests for partial data #377

merged 6 commits into from
Jul 7, 2022

Conversation

jycouet
Copy link
Contributor

@jycouet jycouet commented Jul 6, 2022

Let's add tests for Partial data

and getting familiar with the concept


It was not clear to me where to put partial: true.
So I did put it everywhere:

  • houdini.config.js: defaultPartial: true,
  • src/routes/stores/partial/Partial_List.gql with @cache(partial: true)
  • src/routes/stores/partial/Partial_User.gql with @cache(partial: true)

But none did the trick that I was expected, "Having id and name displayed instantly on the client-side navigation"

@changeset-bot
Copy link

changeset-bot bot commented Jul 6, 2022

🦋 Changeset detected

Latest commit: 7d1f452

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@AlecAivazis AlecAivazis merged commit 9836c94 into main Jul 7, 2022
@AlecAivazis AlecAivazis deleted the tests/partial branch July 7, 2022 20:34
@github-actions github-actions bot mentioned this pull request Jul 7, 2022
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