diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2019-03-03 13:46:42 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2019-03-06 15:35:30 +0100 |
commit | ee4ba6ce38cb3edc426a6323e1ef25b5611a4d04 (patch) | |
tree | a48560c090f8b24133858413b8489403c02e1823 /spec/requests | |
parent | 2e1549427029f3f6635659a1cc0434666bbe9d67 (diff) | |
download | gitlab-ce-ee4ba6ce38cb3edc426a6323e1ef25b5611a4d04.tar.gz |
Adjust GraphQL helper to query empty fields
These adjustments make sure our GraphQL helpers support rendering
queries for empty fields like this:
{
echo(text: "Hello world")
}
Instead of like this:
{
echo(text: "Hello world") {
}
}
The latter would be an invalid query, causing parsing errors.
Diffstat (limited to 'spec/requests')
0 files changed, 0 insertions, 0 deletions