Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gqlImportFrom option #1344

Merged
merged 2 commits into from
Feb 24, 2019
Merged

Add gqlImportFrom option #1344

merged 2 commits into from
Feb 24, 2019

Conversation

danielkcz
Copy link
Contributor

@danielkcz danielkcz commented Feb 23, 2019

Related #1342

Once again I am not sure if there is a better way to handle the default config.

Edit: On the contrary to a drafted solution, I had to opt for configuring whole import line because graphql.macro does not have a default export.

@danielkcz danielkcz force-pushed the gql-import branch 4 times, most recently from a148019 to 35f8e4f Compare February 23, 2019 08:58
@IanVS
Copy link

IanVS commented Feb 23, 2019

I think this could also fix #1321, right? Although, it feels a little brittle to specify the whole import line.

@danielkcz
Copy link
Contributor Author

danielkcz commented Feb 23, 2019

Although, it feels a little brittle to specify the whole import line.

I kinda agree. It was just first shot. I am open to suggestions, but let's not build an AI for one code line :)

@dotansimha
Copy link
Owner

Looks good. @FredyC please rebase and then I'll merge it :)

@danielkcz
Copy link
Contributor Author

Wow, did not know it's possible to resolve conflicts within the GitHub, very neat :)

@dotansimha dotansimha merged commit 5f1df92 into dotansimha:master Feb 24, 2019
@danielkcz danielkcz deleted the gql-import branch February 24, 2019 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants