-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support query deduplication #31
Conversation
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.
👍
$registry = \WP_Block_Type_Registry::get_instance(); | ||
|
||
$block_type = $registry->get_registered( 'wp-curate/query' ); | ||
$block_type = $this->block_type_registry->get_registered( 'wp-curate/query' ); |
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.
should we support the core query too? 🤔
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.
It's possible. It might get wonky because the block attributes are different. But it might not. I'll noodle on it tonight.
…into feature/STORY-939/stop-queries
…ueries Stop queries that have no curation results
No description provided.