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

feat(rest): push route(verb, path, spec, fn) down to RestServer #1898

Merged
merged 1 commit into from
Oct 22, 2018

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Oct 22, 2018

Move the implementation of 4-arg version of "route` method from RestApplication to RestServer, simplify RestApplication's "route" to delegate the implementation to RestServer.

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

Move the implementation of 4-arg version of "route` method from
RestApplication to RestServer, simplify RestApplication's "route"
to delegate the implementation to RestServer.
@bajtos
Copy link
Member Author

bajtos commented Oct 22, 2018

@hacksparrow if the changes are approved then feel free to land this pull request yourself, to unblock your work on #1896

Copy link
Contributor

@jannyHou jannyHou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@raymondfeng raymondfeng merged commit c49b65a into master Oct 22, 2018
@raymondfeng raymondfeng deleted the fix-handler-route-api branch October 22, 2018 21:17
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.

3 participants