From 70dca1b6efb8afc39ed1b6180eb8c67b636cb1eb Mon Sep 17 00:00:00 2001 From: Timur Murtukov Date: Fri, 19 Jul 2019 13:26:06 +0200 Subject: [PATCH] Update expression-language.md A small correction --- docs/definitions/expression-language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/definitions/expression-language.md b/docs/definitions/expression-language.md index 338b1e6d0..2e5b62a30 100644 --- a/docs/definitions/expression-language.md +++ b/docs/definitions/expression-language.md @@ -428,12 +428,12 @@ Backslashes in expressions must be escaped by 2 or 4 backslasehs, depending on w When using **single quotes** as _outer_ quotes, you must use **double backslashes**. e.g.: ```yaml ... -access: '@=resolver("App\\GraphQL\\Resolver\\ResolverName::methodName")' +resolve: '@=resolver("App\\GraphQL\\Resolver\\ResolverName::methodName")' ... ``` When using **double quotes** as _outer_ quotes, you must use **4 backslashes**, e.g.: ```yaml ... -access: "@=resolver('App\\\\GraphQL\\\\Resolver\\\\ResolverName::methodName')" +resolve: "@=resolver('App\\\\GraphQL\\\\Resolver\\\\ResolverName::methodName')" ... ```