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

Fix default query params #13

Merged
merged 2 commits into from
Feb 27, 2015
Merged

Conversation

Deraen
Copy link
Collaborator

@Deraen Deraen commented Feb 27, 2015

This allows RegexPatterns (e.g. silk/int) to be used inside silk/? without default-params.

If the default-params is not provided, silk/? will use new create-default method of Pattern to create the default.

(-create-default :foo) => {:foo nil}
(-create-default (silk/int :foo)) => (-create-default :foo) => {:foo nil}

domkm added a commit that referenced this pull request Feb 27, 2015
@domkm domkm merged commit 5972ea6 into domkm:master Feb 27, 2015
@domkm
Copy link
Owner

domkm commented Feb 27, 2015

Thanks!

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