1
0
Fork 0
mirror of synced 2024-07-02 21:20:58 +12:00

Add back fullBody params for testing

This commit is contained in:
Jake Barnby 2022-07-18 19:31:07 +12:00
parent adbb1a1d79
commit b8bd81e232
3 changed files with 12 additions and 11 deletions

View file

@ -27,7 +27,7 @@ App::get('/v1/graphql')
->label('sdk.response.model', Response::MODEL_ANY) ->label('sdk.response.model', Response::MODEL_ANY)
->label('abuse-limit', 60) ->label('abuse-limit', 60)
->label('abuse-time', 60) ->label('abuse-time', 60)
->param('query', '', new JSON(), 'The query or queries to execute.') ->param('query', '', new JSON(), 'The query or queries to execute.', fullBody: true)
->inject('request') ->inject('request')
->inject('response') ->inject('response')
->inject('utopia') ->inject('utopia')
@ -50,7 +50,7 @@ App::post('/v1/graphql')
->label('sdk.response.model', Response::MODEL_ANY) ->label('sdk.response.model', Response::MODEL_ANY)
->label('abuse-limit', 60) ->label('abuse-limit', 60)
->label('abuse-time', 60) ->label('abuse-time', 60)
->param('query', '', new JSON(), 'The query or queries to execute.') ->param('query', '', new JSON(), 'The query or queries to execute.', fullBody: true)
->inject('request') ->inject('request')
->inject('response') ->inject('response')
->inject('promiseAdapter') ->inject('promiseAdapter')

View file

@ -42,7 +42,7 @@
"ext-sockets": "*", "ext-sockets": "*",
"appwrite/php-clamav": "1.1.*", "appwrite/php-clamav": "1.1.*",
"appwrite/php-runtimes": "0.10.*", "appwrite/php-runtimes": "0.10.*",
"utopia-php/framework": "dev-feat-graphql-helpers as 0.19.2", "utopia-php/framework": "dev-feat-unkeyed-full-body-params as 0.19.2",
"utopia-php/logger": "0.3.*", "utopia-php/logger": "0.3.*",
"utopia-php/abuse": "0.7.*", "utopia-php/abuse": "0.7.*",
"utopia-php/analytics": "0.2.*", "utopia-php/analytics": "0.2.*",

17
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "2fd5f977b2e1f35e968a03dc9f0aefe8", "content-hash": "46322a96c520e8b5c11040dec5f41620",
"packages": [ "packages": [
{ {
"name": "adhocore/jwt", "name": "adhocore/jwt",
@ -2169,22 +2169,23 @@
}, },
{ {
"name": "utopia-php/framework", "name": "utopia-php/framework",
"version": "dev-feat-graphql-helpers", "version": "dev-feat-unkeyed-full-body-params",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/framework.git", "url": "https://github.com/utopia-php/framework.git",
"reference": "5c1ef70c7134b4c1f3907143c78718173cf20bd1" "reference": "f55faa8d4858844291d0b16788cd5b0c540eaef7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/framework/zipball/5c1ef70c7134b4c1f3907143c78718173cf20bd1", "url": "https://api.github.com/repos/utopia-php/framework/zipball/f55faa8d4858844291d0b16788cd5b0c540eaef7",
"reference": "5c1ef70c7134b4c1f3907143c78718173cf20bd1", "reference": "f55faa8d4858844291d0b16788cd5b0c540eaef7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.0.0" "php": ">=8.0.0"
}, },
"require-dev": { "require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "^9.5.10", "phpunit/phpunit": "^9.5.10",
"vimeo/psalm": "4.13.1" "vimeo/psalm": "4.13.1"
}, },
@ -2212,9 +2213,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/framework/issues", "issues": "https://github.com/utopia-php/framework/issues",
"source": "https://github.com/utopia-php/framework/tree/feat-graphql-helpers" "source": "https://github.com/utopia-php/framework/tree/feat-unkeyed-full-body-params"
}, },
"time": "2022-07-18T02:13:04+00:00" "time": "2022-07-18T07:12:16+00:00"
}, },
{ {
"name": "utopia-php/image", "name": "utopia-php/image",
@ -5415,7 +5416,7 @@
"aliases": [ "aliases": [
{ {
"package": "utopia-php/framework", "package": "utopia-php/framework",
"version": "dev-feat-graphql-helpers", "version": "dev-feat-unkeyed-full-body-params",
"alias": "0.19.2", "alias": "0.19.2",
"alias_normalized": "0.19.2.0" "alias_normalized": "0.19.2.0"
} }