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

support for Restify 7 #17

Open
balexandre opened this issue Sep 11, 2018 · 3 comments
Open

support for Restify 7 #17

balexandre opened this issue Sep 11, 2018 · 3 comments

Comments

@balexandre
Copy link

In the latest version 7, Restify no longer uses server.router.render, and I'm of course getting undefined when numbersOnly: false :(

Any chance we can have this fixed for 7?

@danielsouzapinna
Copy link

I user restify 7.2.2 and received an error when try to use: res.paginate.getLinks(doc.count); or res.paginate.send(doc.results, doc.count);

Error is:
TypeError: server.router.render is not a function

@yagomassiah
Copy link

This is actually pretty sad, same thing here

@paulvarache
Copy link
Owner

This plugin relies entirely on the render method from the router. Restify 8 re-introduces this method and fixes this issue.

This has been a problem for more than one plugin or application

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

No branches or pull requests

4 participants