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

Fix: Headless CMS - sync environments with aliases #1121

Merged
merged 3 commits into from Jul 13, 2020

Conversation

Ashu96
Copy link
Contributor

@Ashu96 Ashu96 commented Jul 12, 2020

Related Issue

Closes #1114

Your solution

  • add refetchQueries to delete operation

  • add updateCacheAfterCreate as update on create operation

How Has This Been Tested?

Manually using the Admin app.

Screenshots:

https://www.loom.com/share/44e758172bfe41978a41b939aa27b241


Blog Summary

Sync environment with environment aliases

Changes in environment aliases will reflect in environment section immediately.
For example, newly created environment alias now show under linked environment entry immediately.

@Ashu96 Ashu96 self-assigned this Jul 12, 2020
@Ashu96 Ashu96 added the cms label Jul 12, 2020
@Ashu96 Ashu96 requested a review from adrians5j July 12, 2020 15:15
@Ashu96 Ashu96 added the bug label Jul 12, 2020
@Ashu96 Ashu96 added this to In progress in Headless CMS via automation Jul 13, 2020
@Ashu96 Ashu96 moved this from In progress to Review in progress in Headless CMS Jul 13, 2020
Copy link
Member

@adrians5j adrians5j left a comment

Choose a reason for hiding this comment

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

Nice one :)

Headless CMS automation moved this from Review in progress to Reviewer approved Jul 13, 2020
@adrians5j adrians5j merged commit ce2d080 into master Jul 13, 2020
Headless CMS automation moved this from Reviewer approved to Done Jul 13, 2020
@adrians5j adrians5j added the blog Use on PRs to include them in the change log. label Jul 14, 2020
@Ashu96 Ashu96 deleted the fix/1114-sync-environment-with-aliases branch July 19, 2020 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog Use on PRs to include them in the change log. bug cms
Projects
No open projects
Headless CMS
  
Done
Development

Successfully merging this pull request may close these issues.

Headless CMS - new environments do not show linked aliases
2 participants