-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fastify integration #192
base: master
Are you sure you want to change the base?
Fastify integration #192
Conversation
The CircleCI failures are down to the 'superagent' version. I get this locally too. If I downgrade superagent to '4.1.0' the test suite runs. |
What is the state of this? |
I shall re-visit and see if the problem still exists. |
|
||
// Set up a front controller, passing it controllers that'll be used | ||
// to handle requests for API resources and for the auto-generated docs. | ||
var Front = new API.httpStrategies.Express( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be httpStrategies.Fastify
* can set this option to false to have this code just pass on to Express. | ||
*/ | ||
export default class FastifyStrategy extends Base { | ||
constructor(apiController, docsController?, options?: HTTPStrategyOptions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add type annotations here? I.e.,
constructor(apiController: APIController, docsController?: DocsController, options?: HTTPStrategyOptions)
I realize the some of the other strategies doesn't have them, but they really should be there
Added a strategy for the Fastify web framework. #190