-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Decouple query from edit site #27972
Conversation
Size Change: +119 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
0ab3361
to
c20bee8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this one in. It's a good improvement, thank you for working on it 👍🏻
I haven't tested this time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Description
This PR decouples the edit-site with
QueryLoop
by setting a new contexttemplateSlug
inside blockContext.templateSlug
is used for now in QueryLoop to set the properpostType
if we are in anarchive
template.