Skip to content

environment variables not workingΒ #643

@gigamesh

Description

@gigamesh

If I follow the instructions in the readme and specify an env var like this in .graphclientrc.yml:

sources:
  - name: farther
    handler:
      graphql:
        endpoint: https://api.studio.thegraph.com/query/{env.SUBGRAPH}/version/latest

and then start the process with the following script: SUBGRAPH=<subgraph-id> graphclient build

...the variable doesn't get injected. Does anyone know why?

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