Skip to content

Offer Automatic persisted queries hash in the context  #2589

Open
@mostafa-rz

Description

@mostafa-rz

I want to add the APQ hash to the context, to be accessible in all the resolvers.

What problem does this feature proposal attempt to solve?

It is useable as a unique cache key for identical requests in custom cache key implementation.

Which possible solutions should be considered?

  • The context interface should be updated to offer get/set of the new property
  • Add the APQ hash to the context after the parse operation

If the feature is ok, I can send the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions