How should one loadTypeDefs
for federated schemata?
#3679
-
Hey 👋 we're still in the process of upgrading all of our graph ql dependencies to the latest library versions. As such, we're having to update how we were building out our schemata from the Before:
After:
I can try to bypass the issue with using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can load files using |
Beta Was this translation helpful? Give feedback.
You can load files using
loadFiles
(doesn't support#import
);https://www.graphql-tools.com/docs/schema-merging#file-loading
Or you can add Federation SDL for missing definitions;
https://www.apollographql.com/docs/federation/federation-spec/#federation-schema-specification