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

urlParamRenderOverride method for Yesod class #1257

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

ran-lasgalen
Copy link

This method replaces urlRenderOverride because the latter lacks support for query string.

While it is possible to keep API and just fix the yesodRender to add params to the result of urlRenderOverride, this solution would be incomplete in user control over query string and possibly ineffective in terms of performance. So I decided to add a new method, make that fix a default definition for it to keep thing backward compatible, and deprecate urlRenderOverride.

The fix is inside yesod-core but the patch also touches haddocks in yesod-static, replacing the name of method.

this method replaces urlRenderOverride because the latter lacks support for query string
@snoyberg
Copy link
Member

Great approach!

@snoyberg snoyberg merged commit 159da2e into yesodweb:master Aug 10, 2016
snoyberg added a commit that referenced this pull request Aug 10, 2016
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.

None yet

2 participants