Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Mixing in static context into req's context #1378

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

aljimenez
Copy link
Contributor

This pull requests makes the static context available in the req's context, giving the req's context precedence as brought up in issue #1377.

@yahoocla
Copy link

CLA is valid!

@caridy
Copy link
Contributor

caridy commented Jun 2, 2014

I thought this was done internally whenever you try to use that context to access data from the store.

@drewfish
Copy link
Contributor

drewfish commented Jun 2, 2014

It is, inside the store. However, req.context doesn't have it, so it's not possible to write other middleware that uses req.context to do interesting things.

@caridy
Copy link
Contributor

caridy commented Jun 2, 2014

fair enough.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants