Unable to upload files #391
Unanswered
christian-lorenz
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Are you using the Symfony bundle? It's still targeting graphqlite 4.1.x. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Symfony 5, apollo (vue-apollo) / vue 2, PHP 7.4
I installed
ecodev/graphql-upload
but needed to set it to v5, as 6 requires a newer webonyx/graphql-php or so. (And somehow I can't install graphql 4.3 - composer says 4.1 is the latest)I always get:
cannot find GraphQL type "File". Check your TypeMapper configuration.
vendor/thecodingmachine/graphqlite/src/Mappers/CannotMapTypeException.php (line 49)
Apollo config:
Mutation is like
Queries and so on work fine. What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions