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

Fixes issue where base types file is not referenced #2137

Merged
merged 1 commit into from Jul 11, 2019
Merged

Fixes issue where base types file is not referenced #2137

merged 1 commit into from Jul 11, 2019

Conversation

mvestergaard
Copy link
Contributor

This is a suggestion to fix the issue mentioned in #2069 (comment)

When a query only contains a fragment spread:

query {
  user {
    ...UserFragment
  }
}

as opposed to

query {
  user {
    id
    ...UserFragment
  }
}

The import of the main types file, i.e. import * as Types from '../types' was not included.

@dotansimha
Copy link
Owner

Thank you @mvestergaard !
I think @mxstbr had the same issue recently.

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.

None yet

2 participants