-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[modern] relay-compiler: createRefetchContainer
expects a second argument of fragment definitions.
#1635
Comments
createRefetchContainer
expects a second argument of fragment definitions.createRefetchContainer
expects a second argument of fragment definitions.
I don't see where in the repo you linked you have the createRefetchContainer call, can you provide a specific link? Note that the function signature is |
I haven't written any front end code yet.. I'm just following the instructions in the "Get Started" section https://facebook.github.io/relay/docs/relay-modern.html#getting-started What i've done so far:
|
Super weird. Does the string |
I am guessing it is picking up a createRefetchContainer from inside node_modules. We should probably blacklist that directory but in the mean time you can point |
@alangenfeld indeed it was picking up it was a little confusing error message even though it technically makes sense now |
here is where we blacklist other directories |
hmm so this might be too explicit for all uses of a node_modules folder. we use something like:
|
This is the result of running
"relay": "relay-compiler --src . --schema schema.graphql"
This isn't a "relay" compliant schema, but is that the problem?
error:
repo: https://github.com/alex-wilmer/venn
The text was updated successfully, but these errors were encountered: