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

feat: allow experimental customization of execution algorithm #3163

Closed
wants to merge 6 commits into from

Commits on Jun 16, 2021

  1. Copy the full SHA
    36ea4d9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e8228c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. Copy the full SHA
    5670a66 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    515b9f6 View commit details
    Browse the repository at this point in the history
  3. split Executor class into separate file

    note that the Parser class is contained in lowercase parser.ts
    yaacovCR committed Jun 17, 2021
    Copy the full SHA
    913b16f View commit details
    Browse the repository at this point in the history
  4. feat: add CustomExecutor option to graphql, execute, and subscribe

    allows customization of the execution algorithm by overriding any of the
    protected members of the now exported internal Executor class.
    
    Reference:
    
    graphql#3163 (comment)
    
    Note:
    
    This class is exported only to assist people in implementing their own
    executors without duplicating too much code and should be used only as
    last resort for cases requiring custom execution or if certain features
    could not be contributed upstream.
    
    It is still part of the internal API and is versioned, so any changes
    to it are never considered breaking changes. If you still need to
    support multiple versions of the library, please use the `versionInfo`
    variable for version detection.
    yaacovCR committed Jun 17, 2021
    Copy the full SHA
    e356494 View commit details
    Browse the repository at this point in the history