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

Adds feathers-rpc #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesvillarrubia
Copy link

Summary

This lightweight middleware enables RPC style verbs on Feathers routes that then can (optionally) trigger custom methods. This allows custom-method calls when external systems cannot modify header requests and leverage x-service-method.

This problem originated from integration issues with legacy webhook software and tooling. By enabling path-only custom method triggers, there's no need to pollute the request.body with special fields.

Other Information

This has been tested with both Koa and Express in v5, and Express only in v4. Automated tests use integration tests for Koa and Express in v5 only. Will expand to v4 as necessary.

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