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

Replace the entire cached document #279

Merged
merged 1 commit into from
Feb 22, 2015
Merged

Replace the entire cached document #279

merged 1 commit into from
Feb 22, 2015

Conversation

prashtx
Copy link
Contributor

@prashtx prashtx commented Feb 22, 2015

Bypass Mongoose’s safety logic, which reformats the document to a $set, which causes problems if we have awkward field names with dots or dollar signs in them. We're in that situation with stats because we use response values, which can include free-form text, as the stats keys.

/cc @hampelm

Bypass Mongoose’s safety logic, which reformats the document to a $set, which causes problems if we have awkward field names with dots or dollar signs in them.
hampelm added a commit that referenced this pull request Feb 22, 2015
Replace the entire cached document
@hampelm hampelm merged commit b43d0dd into master Feb 22, 2015
@hampelm hampelm deleted the cache-fix branch February 22, 2015 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants