mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
Custom Endpoints
This commit is contained in:
parent
002cfb1b4d
commit
5261aa9931
28 changed files with 524 additions and 46 deletions
11
tests/ui/endpoint/non_custom_params_attribute.stderr
Normal file
11
tests/ui/endpoint/non_custom_params_attribute.stderr
Normal file
|
@ -0,0 +1,11 @@
|
|||
error: `params` can only be used on custom endpoints
|
||||
--> $DIR/non_custom_params_attribute.rs:8:12
|
||||
|
|
||||
8 | #[read_all(params = true)]
|
||||
| ^^^^^^
|
||||
|
||||
error[E0412]: cannot find type `read_all___gotham_restful_endpoint` in this scope
|
||||
--> $DIR/non_custom_params_attribute.rs:5:12
|
||||
|
|
||||
5 | #[resource(read_all)]
|
||||
| ^^^^^^^^ not found in this scope
|
Loading…
Add table
Add a link
Reference in a new issue