Skip to content

Commit

Permalink
Fix Arguments Transformer link
Browse files Browse the repository at this point in the history
  • Loading branch information
brunonm authored May 10, 2019
1 parent 036f790 commit 14e21a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/definitions/expression-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All definition config entries can use expression language but it must be explici
| boolean **isTypeOf**(string $className) | Verified if `value` is instance of className | @=isTypeOf('AppBundle\\User\\User') |
| mixed **resolver**(string $alias, array $args = []) | call the method on the tagged service "overblog_graphql.resolver" with args | @=resolver('blog_by_id', [value['blogID']] | res |
| mixed **mutation**(string $alias, array $args = []) | call the method on the tagged service "overblog_graphql.mutation" with args | @=mutation('remove_post_from_community', [value]) | mut |
| mixed **arguments**(array $mapping, mixed $data) | Transform and validate a list of arguments. [Arguments Transformer](arguments-transformer.md) | @=arguments(['input' => 'MyInput'], ['input' => ['field1' => "value1"]]) |
| mixed **arguments**(array $mapping, mixed $data) | Transform and validate a list of arguments. [Arguments Transformer](../annotations/arguments-transformer.md) | @=arguments(['input' => 'MyInput'], ['input' => ['field1' => "value1"]]) |
| string **globalId**(string\|int id, string $typeName = null) | Relay node globalId | @=globalId(15, 'User') |
| array **fromGlobalId**(string $globalId) | Relay node fromGlobalId | @=fromGlobalId('QmxvZzox') |
| object **newObject**(string $className, array $args = []) | Instantiation $className object with $args | @=newObject('AppBundle\\User\\User', ['John', 15]) |
Expand Down

0 comments on commit 14e21a2

Please sign in to comment.