You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,6 +26,12 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
26
26
27
27
== Changelog ==
28
28
29
+
= 4.8.3 =
30
+
31
+
### Patch Changes
32
+
33
+
- bf77481: Updated plugin test suite and readme for WordPress 6.8
34
+
29
35
= 4.8.2 =
30
36
31
37
### Patch Changes
@@ -38,159 +44,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
38
44
39
45
- 84a65bb: bug: Fixes fatal error when you de-activate WPGraphQL
40
46
41
-
= 4.8.0 =
42
-
43
-
### Minor Changes
44
-
45
-
- 742f18a: # Querying Object-Type Block Attributes in WPGraphQL
46
-
47
-
## Overview
48
-
49
-
With this update, you can now query object-type block attributes with each property individually, provided that the **typed structure** is defined in the class `typed_object_attributes` property or through a **WordPress filter**.
50
-
51
-
## How It Works
52
-
53
-
The `typed_object_attributes` is a **filterable** array that defines the expected **typed structure** for object-type block attributes.
54
-
55
-
- The **keys** in `typed_object_attributes` correspond to **object attribute names** in the block.
56
-
- Each value is an **associative array**, where:
57
-
- The key represents the **property name** inside the object.
58
-
- The value defines the **WPGraphQL type** (e.g., `string`, `integer`, `object`, etc.).
59
-
- If a block attribute has a specified **typed structure**, only the properties listed within it will be processed.
60
-
61
-
## Defining Typed Object Attributes
62
-
63
-
Typed object attributes can be **defined in two ways**:
64
-
65
-
### 1. In a Child Class (`typed_object_attributes` property)
66
-
67
-
Developers can extend the `Block` class and specify **typed properties** directly:
0 commit comments