graphql-mesh icon indicating copy to clipboard operation
graphql-mesh copied to clipboard

IDEA: Refactor Handlers by splitting artifacts generation and schema/executor generation

Open ardatan opened this issue 3 years ago • 0 comments

Today handlers take a store and reads/writes that store while building a GraphQL Schema and an executor within getMeshStore but instead handlers can have two methods; getSource that returns MeshSource like the existing getMeshStore but it will take built artifacts as a parameter getArtifacts that returns an array or a map that contains generated artifacts such as MySQL database introspection, gRPC protobuf descriptors, GraphQL schema for GraphQL sources etc.

ardatan avatar Jun 20 '22 11:06 ardatan