gatzjames / insomnia-plugin-graphql-codegen-import

Insomnia plugin that generates GraphQL operations in your workspace
MIT License
9 stars 4 forks source link

[Import] Support import schema by file directory #4

Open Just1nWang opened 2 years ago

Just1nWang commented 2 years ago

Version: 0.3.4

Describe the enhancement I defined schema in multiple modules as follow file structure, but i can't import schema by file directory.

schema
├── base.graphql
├── file.graphql

Expected behavior Support Import Schema By File Directory.

gatzjames commented 2 years ago

@Just1nWang Nice idea! How would you expect the resolution to happen here? E.g. which file would be the entry?