keystonejs / keystone

The superpowered headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
9.18k stars 1.15k forks source link

Reduce complexity of `extend-express-app` example #9068

Closed dcousens closed 6 months ago

dcousens commented 6 months ago

When responding to https://github.com/keystonejs/keystone/discussions/9067#discussioncomment-8903092, I wanted to reference a working example that explained extendExpressApp and extendHttpServer and withRequest.

The example still isn't adding a custom session, but, this should be better than what was there for now.

codesandbox-ci[bot] commented 6 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 64e5ecb5f168504a6481e5d5249a62b38ce7a294:

Sandbox Source
@keystone-6/sandbox Configuration