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 should adhere to artifactDirectory configured in relay.config.js #130

Open
reckter opened this issue Dec 15, 2021 · 0 comments
Open

Comments

@reckter
Copy link
Contributor

reckter commented Dec 15, 2021

Currently, you can switch between imports being auto fixed either:
haste: true => "<type>.graphql"
haste: false => "./__generated__/<type>.graphql".
But with artifactDirectory set it would probably need to be:

  • the relative path from the current directory to the artifactDirectory
  • or the absolute path from the baseUrl setting in tsconfig (which is not always possible, because either not set, or not a ts repository at all)
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

No branches or pull requests

1 participant