Skip to content

APQ requests to subgraphs always compute sha256 #9149

@samuelAndalon

Description

@samuelAndalon

Describe the solution you'd like

https://github.com/apollographql/router/blob/dev/apollo-router/src/services/subgraph_service.rs#L226
Instead of calculating the sha256 on runtime every time the router sends a request to a subgraph, store the sha256 on the query plan's FetchNode, it serves as a natural identifier of the operation and it will serve the APQ request use case as well

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