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

Admin UI: refactored how query refetches are handled #2978

Merged
merged 1 commit into from
May 18, 2020

Conversation

Vultraz
Copy link
Contributor

@Vultraz Vultraz commented May 17, 2020

Relies on #2976. Fixes #2795

Instead of manually using refech, use the nice refetchQueries functionality Apollo provides. This is what the named queries in #2976 was for.

Relevant commit: e4e372e

@changeset-bot
Copy link

changeset-bot bot commented May 17, 2020

🦋 Changeset is good to go

Latest commit: 2541ea0

We got this.

This PR includes changesets to release 1 package
Name Type
@keystonejs/app-admin-ui Patch

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

@Vultraz Vultraz force-pushed the admin-ui-refetch-cleanup branch from be514fb to 2541ea0 Compare May 18, 2020 00:30
@Vultraz
Copy link
Contributor Author

Vultraz commented May 18, 2020

Rebased.

Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

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

Yep, this all looks much nicer now!

@timleslie timleslie merged commit 7203c58 into keystonejs:master May 18, 2020
@Vultraz Vultraz deleted the admin-ui-refetch-cleanup branch May 18, 2020 01:13
This was referenced May 18, 2020
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.

Relationship fields created during editing of one list item do not immediately show up when editing another
2 participants