graphql-transform-schema
graphql-transform-schema copied to clipboard
"Field type must be output type but got.." Not using peer graphql dependency
- This issue is caused by graphql-transform-schema not using the peer dependency, so the version of graphql is misaligned when the peer is using an updated version of graphql. Need to resolve to peer dependency or make it a clear version requirement
I'm facing the same issue as @gage-langdon . Have you found some workaround?
---- UPDATE----
I found a quick workaround if you're using yarn as your package manager. In your package.json
add
"resolutions": { "graphql": "^0.13.0" }
This will force every graphql dependency to this version!
@maxtechera Thanks!