Monorepo home of graphile-build, graphile-build-pg, graphile-utils, postgraphile-core and graphql-parse-resolve-info. Build a high-performance easily-extensible GraphQL schema by combining plugins!
I was digging around in the docs and couldn't find anything that stood out: Can builder/plugin hooks support asynchronous execution (returning promises?). The use case involves schema transformation based on external sources which I would like to execute at the time the schema is being rebuilt.
No; schema building is synchronous because it’s an API over GraphQL.js’ API which is also synchronous. Your plugins can do async things but they must complete them before the schema build triggers.
I was digging around in the docs and couldn't find anything that stood out: Can builder/plugin hooks support asynchronous execution (returning promises?). The use case involves schema transformation based on external sources which I would like to execute at the time the schema is being rebuilt.
Thanks!