Skip to content

Commit

Permalink
Add support for querying array type query data from blocks (#176)
Browse files Browse the repository at this point in the history
* Feat: Able to source Query Attribute types

* Test: Add unit tests

* Chore: PHPCS fix

* Fix: Properly extract innerHTML from source attrs

* Docs: Return type fix

* Code Review Compat Fixes

* Update includes/Type/Scalar/Scalar.php

Co-authored-by: John Parris <john.parris@wpengine.com>

* Code Review: Remove unused variable

* Chore: Add Changeset

* Update includes/Blocks/Block.php

Co-authored-by: John Parris <john.parris@wpengine.com>

* Update includes/Utilities/DomHelpers.php

Co-authored-by: John Parris <john.parris@wpengine.com>

* Chore: Code Review Updates

* Chore: Code Review Updates

* Chore: Code Review updates

* Style: Clean whitespaces.

* Fix: Fixed schema lint errors

* Update .changeset/ten-dolphins-smash.md

Co-authored-by: Dovid Levine <david@axepress.dev>

---------

Co-authored-by: John Parris <john.parris@wpengine.com>
Co-authored-by: Dovid Levine <david@axepress.dev>
  • Loading branch information
3 people committed Jan 8, 2024
1 parent e66f907 commit 9b71411
Show file tree
Hide file tree
Showing 7 changed files with 368 additions and 94 deletions.
7 changes: 7 additions & 0 deletions .changeset/ten-dolphins-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@wpengine/wp-graphql-content-blocks": major
---

Feature: Add support for querying array type query data from blocks

Query source block attribute types are supported. See: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-attributes/#query-source

0 comments on commit 9b71411

Please sign in to comment.