Skip to content

Absolute imports in graphql files #651

@timscott

Description

@timscott

Feature request: Support absolute paths in imports.

Allow this:
# import 'lib/fragments/FoobarFields.graphql'

In place of this:
# import '../../../../lib/fragments/FoobarFields.graphql'

Particularly helpful since my editor does not autocomplete path nodes in a graphql file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions