Skip to content

Added new "leaveUnmatchedPlaceholders" option#21

Open
tjenkinson wants to merge 2 commits intogeraintluff:masterfrom
tjenkinson:master
Open

Added new "leaveUnmatchedPlaceholders" option#21
tjenkinson wants to merge 2 commits intogeraintluff:masterfrom
tjenkinson:master

Conversation

@tjenkinson
Copy link
Copy Markdown

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