Skip to content

Conversation

@tyranron
Copy link
Member

@tyranron tyranron commented Oct 22, 2025

Part of #1347

Synopsis

GraphQL September 2025 spec standardizes optional extensions field for implementation-specific details:

Juniper should be able to parse such implementation-specific details and provide them in juniper::Context during execution.

Solution

  • Add pub extensions: Ext field to GraphQLRequest, where Ext = Variables<S> by default. This way, user code could define any structured extensions as it desires, while by default the code will just work.
    • in juniper_actix
    • in juniper_axum
    • in juniper_hyper
    • in juniper_rocket
    • in juniper_warp
  • Wire these extensions to Context in GraphQLRequest::execute() method. (TODO: describe how)

Checklist

  • Tests are added
  • Documentation is added (including Book)
  • CHANGELOG is filled

@tyranron tyranron added this to the 0.18.0 milestone Oct 22, 2025
@tyranron tyranron self-assigned this Oct 22, 2025
@tyranron tyranron added enhancement Improvement of existing features or bugfix semver::breaking Breaking change in terms of SemVer k::api Related to API (application interface) k::refactor Refactoring, technical debt elimination and other improvements of existing code base feature New feature or request k::design Related to overall design and/or architecture labels Oct 22, 2025
@tyranron tyranron linked an issue Oct 22, 2025 that may be closed by this pull request
23 tasks
@tyranron tyranron mentioned this pull request Oct 22, 2025
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of existing features or bugfix feature New feature or request k::api Related to API (application interface) k::design Related to overall design and/or architecture k::refactor Refactoring, technical debt elimination and other improvements of existing code base semver::breaking Breaking change in terms of SemVer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL spec September 2025

1 participant