Skip to content

Feature request: Query by unique fields (not just id) #688

@Arachnid

Description

@Arachnid

It'd be useful to be able to do a query based on an ENS name, for instance, and have the subgraph code run namehash and transform the query before it's handed off to the execution engine.

That way, users can execute the more intuitive query {domain(name: "foo.eth") { ... }} instead of {domain(id: "0x..."){ ... }}.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions