Skip to content

Conversation

bitgopatmcl
Copy link
Contributor

For existing applications that do large amounts of express
configuration, it is often cleaner to just obtain a router instance and
add it to the existing express stack. This assists with incremental
adoption of api-ts

For existing applications that do large amounts of express
configuration, it is often cleaner to just obtain a router instance and
add it to the existing express stack. This assists with incremental
adoption of api-ts
@bitgopatmcl bitgopatmcl requested a review from a team May 16, 2022 15:14
Copy link
Contributor

@ericcrosson-bitgo ericcrosson-bitgo left a comment

Choose a reason for hiding this comment

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

Would love to see some docstrings explaining some high-level concepts; for example, when to choose routerForApiSpec vs createServer.

spec,
routeHandlers,
encoder = defaultResponseEncoder,
}: CreateRouterProps<Spec>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting choice of parameter type! (an object)

@ericcrosson-bitgo ericcrosson-bitgo merged commit f41013f into BitGo:beta May 16, 2022
@github-actions
Copy link

🎉 This PR is included in version 1.0.0-beta.8 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 0.2.0-beta.6 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jun 6, 2022

🎉 This PR is included in version 0.2.0-beta.2 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 0.2.0-beta.6 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants