Skip to content

Issues with Subgraph Queries and URL Construction #208

@luchobonatti

Description

@luchobonatti

I have encountered a few issues related to subgraphs that I would like to report. Hopefully, we can find a solution together. Here are the details:

  1. Development URL Construction:
    The development URL needs to be constructed with three parameters: user-id, subgraph-slug, and subgraph-version. The expected URL format is: https://api.studio.thegraph.com/query/[user-id]/[subgraph-slug]/version/[subgraph-version]

  2. Running Queries Across Multiple Subgraphs:
    I need to run the same query across multiple subgraphs. However, the current code requires me to create a folder with the query in each subgraph. This means I have to repeat the query multiple times for it to be generated correctly.

  3. Writing Queries Without a Pre-generated Schema:
    Writing queries without a pre-generated schema complicates the process significantly. It would be very helpful if we could address this issue to streamline query writing.

  4. Documentation Improvement:
    The documentation should include a section on how to pass parameters to queries. This addition would greatly aid in understanding and implementing parameterized queries.

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