laravel-graphql
laravel-graphql copied to clipboard
Facebook GraphQL for Laravel 5. It supports Relay, eloquent models, validation and GraphiQL.
Hey everybody, i run a laravel application inside docker with the laravel-graphql installed. This seems to be very slow as it takes like 2-3 seconds for a normal query. When...
I have a graphql that sends an email. Blade template has an error. But this error is not on line 1 obviously. No meter how i try to edit error...
e.g.$request->getClientIp()
GraphiQL is giving me this error ``` Error: Query fields must be an object with field names as keys or a function which returns such an object. at exports.default (https://cdnjs.cloudflare.com/ajax/libs/graphiql/0.11.3/graphiql.min.js:1:555767)...
So, in our project we're using Laravel 5.5 + MongoDB + GraphQL and I've realized that this connection is current not so perfect and has some problems. For notice I'm...
I found that validating for circular references within Input Objects is an ongoing issue within the specification project: https://github.com/facebook/graphql/issues/189 ````graphql input Something { name: String somethingElse: Something! } ```` I...
If you wanna change the message of AuthorizationError, override unauthorized/unauthenticated
In Controller, it use `config('graphql.prefix')` as route parameter key: https://github.com/Folkloreatelier/laravel-graphql/blob/171631a17e4bf33780513f15221ea6052c67d498/src/Folklore/GraphQL/GraphQLController.php#L35-L41 But in `routes.php` it is actually use a hard-coded key `graphql_schema` in route define: https://github.com/Folkloreatelier/laravel-graphql/blob/1d94ab37f5051e6167e2a5421eacbe4d74994d55/src/Folklore/GraphQL/routes.php#L5 The `$middleware` in GraphQLController will...
Currently validations are running before authorization [here](https://github.com/Folkloreatelier/laravel-graphql/blob/4b79788970a723b4b57d6118193b053298f94e32/src/Folklore/GraphQL/Support/Traits/ShouldValidate.php#L110), even for unauthorized requests. Is it something intended? I just thought maybe there is no need to to run validation for unauthorized requests....
Hi, i have been using your package for a bit now - it is great, thank you! I have been having issues with the type coercion of the built-in scalar...