KevinAsher

Results 8 comments of KevinAsher

Yeah, this creates an issue for the use case of a global error handler. Since unhandled promise rejections won't bubble up anymore, we will have to manually do the unhandled...

As a workaround, one can make a simple wrapper around `Formik`, for example ```jsx export default ({onSubmit, ...rest}) => { return ( { try { await onSubmit(...submitProps); } catch (err)...

@faiverson, using `'id' => [ 'type' => Type::nonNull(Type::string())]` solves the problem, but the main ideia here is the convenience of using the shorthant notation supported by the upstream library.

@adamgoose, yep that's what I've meant.

It's an easy workaround though, e.g. ```php public function fields() { $array = [ 'id' => Type::nonNull(Type::string()), 'email' => Type::string(), 'name' => Type::string(), 'posts' => Type::listOf(GraphQL::type('Post')), 'followers' => Type::listOf(GraphQL::type('User')), 'followees'...

Yes, the implementation that you mentioned about the buffered IDs is exactly what the Dataloader does, but instead it uses a promise-like approach which follows the original DataLoader created by...

Using @PowerKiKi library while overriding the default graphql controller, a possible solution would be this: ```php namespace App\Http\Controllers; use Illuminate\Http\Request; use Folklore\GraphQL\GraphQLController as BaseGraphQLController; use GraphQL\Upload\UploadMiddleware; use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory; use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;...

@alietors, you're correct, once u convert the psr7 request to a foundation request, you won't have access to the files in the `$args` argument of the resolve function, but you...