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

API: Fix for function based context to run on each request #770

Merged
merged 2 commits into from
Jun 30, 2020

Commits on Jun 30, 2020

  1. Should not overwrite userContext

    As per discussion in this thread, https://community.redwoodjs.com/t/context-function-passed-to-creategraphqlhandler-runs-only-once-on-first-request/801
    
    context function passed to createGraphQLHandler was running only once, after some debugging it seems function was overwritten with the data return from that custom context function
    nexneo committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    7cdad82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cbe59d View commit details
    Browse the repository at this point in the history