graphql-hive / graphql-hive/graphql-modules
Schema property inside GraphQLModule object is not assignable when it contains federation directives like @key
Open
legacy
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 113
- Avg merge
- 3h 36m
- Merged PRs (30d)
- 1
Description
i was trying to do something like this:-
const {schema} = module;
Module is a graphQLModule, in which typedefs has @key attribute (Apollo Federation way).
At this statement it throws error:- Unknown directive "key"
Earlier i was using 0.7.7 version of @graphql-modules/core, @graphql-modules/di, then i upgraded the versions to 0.7.17, but still the issue didn't go away.
Or is it the expected behaviour?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.