Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature add allow batched http requests flag #5778

Merged

Commits on Nov 2, 2021

  1. Add allowBatchedHttpRequests to the GraphQLServerOptions

    Allow specifying allowBatchedHttpRequests in the ApolloServer
    constructor which will be used to disable requests that
    batch multiple queries in a single request.
    Stelios Kotanidis authored and glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    ab79d18 View commit details
    Browse the repository at this point in the history
  2. Prevent batched queries in single request when specified

    Using the allowBatchedHttpRequests coming from the GraphQLServerOptions
    to limit requests to a single query per request. This defaults to True
    for backwards-compatibility reasons.
    Stelios Kotanidis authored and glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    b5d8425 View commit details
    Browse the repository at this point in the history
  3. Document allowBatchedHttpRequests

    Stelios Kotanidis authored and glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    ae7331a View commit details
    Browse the repository at this point in the history
  4. Disable any batch size when allowBatchedHttpRequests is disabled

    * Implement requested changes and update docs
    Stelios Kotanidis authored and glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    5ca0feb View commit details
    Browse the repository at this point in the history
  5. CHANGELOG update

    glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    e0139ab View commit details
    Browse the repository at this point in the history
  6. Tweaks from code review

    glasser committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    14d1541 View commit details
    Browse the repository at this point in the history