glennreyes / glennreyes/graphpack

GraphQL import throws

Open
#42 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
2k
Forks
77
PR merge metrics
No merged PRs in 30d

Description

When importing other .graphql files from schema.graphql, building the server fails.

Minimal example in Codesandbox: https://codesandbox.io/s/q848mq9o1w

schema.graphql:
```graphql
# import Post from "posts.graphql"

type Query {
posts: [Post]
}
```
posts.graphql:
```graphql
type Post {
id: ID!
text: String!
tags: [String]
}
```

Output on the terminal:
![image](https://user-images.githubusercontent.com/740978/54278884-fede4780-4593-11e9-91d6-65664ded6d76.png)

I tried with v1.0.2 up to 1.0.8, also with "./posts.graphql", but without success. Any idea?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.