aerogear / graphql-testx

A GraphQL server for testing GraphQL applications or libraries based on Graphback
Apache License 2.0
15 stars 5 forks source link

Short the TestxDirector import syntax #124

Closed b1zzu closed 4 years ago

b1zzu commented 4 years ago

Description

I did some experiments and with this changes, it will be possible to import the TestxDirector in this way:

const { TestxDirector } from "graphql-testx/director"

Resolves: #118

Checklist
b1zzu commented 4 years ago

@wtrocki what do you think of this solution?

wtrocki commented 4 years ago

Works for me. Generally after trying this myself I could not find any better option than direct import. If you will take look at my sample app I have build I have there.a lots.of imports from dist