Versions:
- graphql-laravel Version: 2.0.1
- Laravel/Lumen Version: 5.8
- PHP Version: 7.3
Description:
Empty args array is passed into GraphQLType fields() function, although it's correct in query resolve().
The cause is line 99 in Rebing\GraphQL\Support\SelectFields.php where $requestedFields['args'] is already empty.
Previous graphql version used self::$args instead, that contains the correct data.
Steps To Reproduce:
Execute a query with some arguments and try to access these from GraphQLType fields().