-
Bug
-
Resolution: Fixed
-
Neutral
-
1.0.1
-
-
Empty show more show less
-
HL & LD 39
-
1
Steps to reproduce:
- clone git clone https://git.magnolia-cms.com/scm/documentation/bookcase.git
- modify the author.yaml content type. Add
- name: alias
multiple: true - Which creates:
Then, an attempt to get:
{ book(id: "c234e8ed-33e3-4265-aeae-3eefc09debc3") { title authors { name isni alias } } }
Returns:
{ "status": 500, "errors": [ { "message": "Exception while fetching data (/alias): property /My-Good-Authors/H.-G.-Wells/alias is a multi-valued property, so it's values can only be retrieved as an array", "locations": [ { "line": 7, "column": 7, "sourceName": null } ], "errorType": "DataFetchingException", "path": [ "book", "authors", 0, "alias" ], "extensions": null } ] }
{}
Acceptance criteria
- caused by
-
MGNLGQL-98 DOC: How to filter for a multivalue property
- Closed