ardatan/graphql-import

Add option for renaming types when importing

Opened this issue · 1 comments

Currently the only way to rename types in a schema is not import them, but create a new type and copy the fields. It would be very useful if one could do:

# import House as Home from './mySchema.graphql'

I really liked this idea! Would be great to discuss potential side-effects and problems of this approach. @freiksenet as looked quite a lot into type renaming - what are your thoughts on this?