Skip to content

let GraphQLArgs inherit all parse/validate/execute options#4561

Merged
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:combine-args
Feb 17, 2026
Merged

let GraphQLArgs inherit all parse/validate/execute options#4561
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:combine-args

Conversation

@yaacovCR
Copy link
Copy Markdown
Contributor

motivation:

  • reduces maintenance burden
  • increases utility/flexibility of the graphql pipeline function

potential downside:

  • means that we have to police any ambiguity or clashes regarding option property names between ParseOptions, ValidationOptions, and ExecutionArgs.

@yaacovCR yaacovCR requested a review from a team as a code owner February 16, 2026 14:58
@yaacovCR yaacovCR added the PR: feature 🚀 requires increase of "minor" version number label Feb 16, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 16, 2026

@yaacovCR is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@yaacovCR yaacovCR changed the title graphql: let GraphQLArgs inherit all parse/validate/execute options let GraphQLArgs inherit all parse/validate/execute options Feb 17, 2026
@yaacovCR
Copy link
Copy Markdown
Contributor Author

  • we have to police any ambiguity or clashes regarding option property names between ParseOptions, ValidationOptions, and ExecutionArgs.

I think that's ok for now, in a future (major?) change, we need to reorganize all our options and that should help, see comment @ https://github.com/graphql/graphql-js/pull/4364/changes#r2037627873 (you may have to expand resolved/minimized comments to get to see the relevant bit)

we may have to standardize/change our options handling across the different parse/validate/execute phases
@yaacovCR yaacovCR merged commit 74050de into graphql:next Feb 17, 2026
15 of 16 checks passed
@yaacovCR yaacovCR deleted the combine-args branch February 17, 2026 08:31
yaacovCR added a commit that referenced this pull request Feb 22, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 22, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 23, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 23, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
motivation:

- reduces maintenance burden
- increases utility/flexibility of the `graphql` pipeline function

potential downside:

- means that we have to police any ambiguity or clashes regarding option property names between `ParseOptions`, `ValidationOptions`, and `ExecutionArgs`. This will hopefully be mitigated in the future in the context of an overall option "cleanup" where we:

(a) differentiate request/spec defined "options/args" and implementation-specific options
(b) further group options, especially with regard to our growing list of execution options and
(c) potentially introduce a more standardized namespace/convention for experimental-options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature 🚀 requires increase of "minor" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant