Closed mariusbackes closed 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/index.js | 56 | 57 | 98.25% | ||
<!-- | Total: | 56 | 57 | 98.25% | --> |
Totals | |
---|---|
Change from base Build 521: | 0.2% |
Covered Lines: | 704 |
Relevant Lines: | 727 |
The test run for Node 8 is not sucessful because jest has dropped the node 8 support with the major release of 26.0.0. #9423
Cool, thanks! By the way, would be useful supporting multi REST config in action schema as well.
actions: {
test: {
rest: ["GET /test", "POST /test2"]
...
}
}
Maybe do you have time to work on as well in this PR?
I have added an array for each rest route. I have also updated the test cases
Awesome, thank, I will check it today.
In my application I need the possibility to define several REST routes for a service. With this change it is possible to define an array of routes.
Both routes
/route/test
and/route/multi/test
call the specific action.