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

registerRestInterface and registerWebInterface should return the router #1208

Merged
merged 1 commit into from Aug 25, 2015

Conversation

MartinNowak
Copy link
Contributor

So that the functions become chainable just like get/post/any and such.

MartinNowak added a commit to MartinNowak/vibe.d that referenced this pull request Aug 10, 2015
@s-ludwig
Copy link
Member

Still not sure if method chaining is a good paradigm in D, considering the existence of with, but since we already have it in other places, I'd agree that it improves consistency. I'd just not want to advertise it as the standard way to access the API in the examples, maybe as a commented-out alternative right after the usual stand-alone UFCS call.

@MartinNowak
Copy link
Contributor Author

updated

@s-ludwig
Copy link
Member

Thanks!

s-ludwig added a commit that referenced this pull request Aug 25, 2015
registerRestInterface and registerWebInterface should return the router
@s-ludwig s-ludwig merged commit 5d6d608 into vibe-d:master Aug 25, 2015
@MartinNowak MartinNowak deleted the fix1208 branch August 26, 2015 01:30
schuetzm pushed a commit to schuetzm/vibe.d that referenced this pull request Aug 30, 2015
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