Skip to content

Fixes should adhere to artifactDirectory configured in relay.config.js #130

Description

@reckter

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions