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

Import individual types from within another grapqhl file

Open corbpaul opened this issue 7 years ago • 1 comments

While its possible to import everything into another .graphql using the import comment#import "./personSchema.graphql", is it possible to import individual types?

This is similar to graphql-import where they would have # import Person from "./personSchema.graphql"

corbpaul avatar Sep 04 '18 04:09 corbpaul

This package is based upon graphql-tag/loader, but maybe it's time to move to a more advanced importer like graphql-import. I'll check if all current features will be supported and if it's an easy switch.

PRs welcome of course.

jamiter avatar Sep 04 '18 06:09 jamiter