Skip to content

Commit a24f9eb

Browse files
committed
GQL: Fix searchItems example
27e2eac3da152335e1cee6eb2d28a587116f7d changed the schema of the searchItems field. This updates the example for those schema changes. Bug: T413981 Change-Id: Ie52eac13242d035419eb3b872b5c8059e3a3f8d7
1 parent a059343 commit a24f9eb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

repo/domains/reuse/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,18 @@ Example: The following query searches for items that have a statement using prop
5858
query: {
5959
and: [
6060
{ property: "P1", value: "Q1" },
61-
{ property: "P2", value: "Q5" }]
61+
{ property: "P2", value: "Q5" }
62+
]
6263
}
6364
) {
64-
id
65-
label(languageCode: "en")
65+
edges {
66+
node {
67+
id
68+
label(languageCode: "en")
69+
}
70+
}
6671
}
6772
}
68-
6973
```
7074

7175
## Development

0 commit comments

Comments
 (0)