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

Added new "leaveUnmatchedPlaceholders" option #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tjenkinson
Copy link

This option leaves placeholders that don't have any matches in the URL.

Useful as it means you can handle replacements at various stages in an application. In my case I want to cache the response from an early stage, but still allow some of placeholders to be in the cached version so they can be replaced more frequently later on.

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.

1 participant