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

fixing long fixture names by hashing query params #32

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

boxman0617
Copy link
Contributor

@boxman0617 boxman0617 commented Jan 9, 2019

Noticed that long file fixture names are erroring due to long urls. This PR addresses this by splitting the url by query params and hashing those when creating the fixture name. This lowers the overall size of the file names of fixtures. (tests included)

The only gotcha is that any fixtures currently out there will have to be re-cached as this changes the names a bit.

@philschatz philschatz merged commit a7a555e into philschatz:master Jan 15, 2019
@philschatz
Copy link
Owner

Thanks for the update and including tests!

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.

3 participants