-
|
For some reason I'm not able to get graphql-scalars to work in my setup. I'm using Apollo Server and saw the instructions here https://www.graphql-scalars.dev/docs/usage/apollo-server however when I try to use a scalar type, I get an unkown type error. Here is how I'm combining my type definitions and resolvers: Here is my One thing I noticed is that when I try to spread |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
resolversis exported as an object, not an array so you cannot spread into an array but use it as an element of it.