restify / restify/node-restify
Question/Feature-request: Is there an easy way to trigger a route manually
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 975
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
- Used appropriate template for the issue type
- Searched both open and closed issues for duplicates of this issue
- Title adequately and concisely reflects the feature or the bug
Feature Request
Use Case
I want to be able to trigger a server route manually.
I'm not sure if this is already possible but scanning the docs and old issues I could not find anything that sounded similar.
Example API
This could look something like this const response = await server.inject({ method: 'GET', url: '/' }) (fastify-like).
Are you willing and able to implement this?
If someone would point me in the right direction I could try doing a PR ... or ask my company to pay a small amount for someone else to do it. Let me know ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the restify documentation and the existing issues referenced in the request to verify whether manual route triggering is already supported. Then assess the proposed server.inject({ method: 'GET', url: '/' }) API against the server's route handling. Done means an agreed API, implementation guidance, documentation, and tests for manually triggering a route.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100