Skip to content

Update routes option within adapter builders to allow multiple service functions #1464

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

d3rpp
Copy link

@d3rpp d3rpp commented Apr 1, 2025

This is a fairly simple PR that adds the ability to include more than one function in the routes option of the various adapters.

I've been able to test it successfully on a small Bun project (internally at my company unfortunately).

This change is backwards compatible as you're still able to pass a single function.

If this feature requires its own conformance tests, I'd be happy to look into it, though none of the adapter/middleware/etc. files seem to have tests as is.

Apologies for all of the force pushes, I'm not used to signing off commits and the commits were using the wrong email.

@d3rpp d3rpp force-pushed the main branch 2 times, most recently from 5f5de95 to ccfc3ba Compare April 2, 2025 00:18
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.

1 participant