Commit Graph

47 Commits

Author SHA1 Message Date
gengteng
6cf325b19d refactor doc tests 2023-10-09 11:37:27 +08:00
gengteng
04e42b6ba6 fix: make validator pub 2023-10-08 19:18:23 +08:00
gengteng
c0b78615e8 fix doc error 2023-10-08 19:14:56 +08:00
gengteng
dd68fe6131 update 2023-10-08 14:34:26 +08:00
gengteng
2f1aa1060f add test for Garde 2023-10-07 21:11:26 +08:00
gengteng
21ee4e7913 fix compilation error 2023-10-07 12:07:59 +08:00
gengteng
3d055d11a3 update docs 2023-09-29 13:37:55 +08:00
gengteng
b0fe4cacda add tests for ValidEx::arguments 2023-09-29 12:15:42 +08:00
gengteng
21d7ce5e4e refactor Arguments 2023-09-29 10:57:12 +08:00
gengteng
e4f54a5cb9 add tests 2023-09-29 10:14:40 +08:00
gengteng
9b28922201 add tests 2023-09-28 23:46:22 +08:00
gengteng
1be91ee5b6 refactor Arguments 2023-09-28 22:30:58 +08:00
gengteng
af533b37c3 refactor: rename traits and generic types 2023-09-28 17:24:54 +08:00
gengteng
fbf0b67a3d add ArgumentsStore 2023-09-28 17:22:19 +08:00
gengteng
cffea88d07 remove response_builder from ValidationContext; rename ValidationContext to ValidationArguments 2023-09-28 14:51:13 +08:00
gengteng
359fa2e8ac impl FromRef<()> for ValidationContext<()> 2023-09-27 21:54:44 +08:00
gengteng
8f1aab74c6 refactor ValidationContext 2023-09-27 18:57:21 +08:00
gengteng
f85fcd5dbf remove impl FromRef<()> for ValidationContext 2023-09-27 17:17:24 +08:00
gengteng
5a5c24678f use ref as args 2023-09-27 13:26:20 +08:00
gengteng
a6da64d6c9 rename ValidArgs to ValidEx 2023-09-27 12:10:06 +08:00
gengteng
5b15f15ce3 impl HasValidateArgs for all extractors 2023-09-27 10:31:45 +08:00
gengteng
323d16c142 add doc for ValidArgs 2023-09-26 18:46:00 +08:00
gengteng
f4a2d2c2de impl ValidArgs 2023-09-26 18:06:27 +08:00
gengteng
1d080cef0c fix typo 2023-09-26 17:32:43 +08:00
gengteng
c683c45a9a docs: add documentation for ValidationContext, ValidError and ValidRejection 2023-09-26 17:28:12 +08:00
gengteng
fdf3a3362e remove 'static 2023-09-26 16:08:00 +08:00
gengteng
1a349287bc impl Error for ValidRejection 2023-09-23 22:45:20 +08:00
gengteng
0f1e595efe add ValidationContext and refactor ValidRejection 2023-09-23 21:46:10 +08:00
gengteng
600dfcd92a Bump version to 0.8.0 2023-09-19 22:42:17 +08:00
gengteng
e7dba8fd0b add examples and support for typed_path 2023-09-12 20:49:35 +08:00
gengteng
1b46256c39 add support for TypedMultipart 2023-09-04 23:24:26 +08:00
gengteng
cb1fb51112 add into_inner and tests for Error/Display 2023-08-05 12:49:54 +08:00
gengteng
7748006538 Merge branch 'main' of https://github.com/gengteng/axum-valid 2023-08-05 12:20:43 +08:00
gengteng
7134197a55 add tests for WithRejection<Valid<...>> 2023-08-05 11:57:09 +08:00
Rick van der Wal
42ed7c7dc7 Add error implementation for ValidRejection 2023-08-04 17:21:40 +02:00
gengteng
d95e04b4d4 update to 0.5.0 2023-08-04 18:50:02 +08:00
gengteng
a48a2a640c fix: incorrect json response content type 2023-08-01 22:11:44 +08:00
gengteng
8da4d2519d add feature 422 and update version to 0.4.0 2023-08-01 12:55:40 +08:00
gengteng
91ce221dd3 add into_json feature 2023-08-01 12:38:14 +08:00
gengteng
295ae17697 Refactor: Split HasValidate implementations for four different extractors into multiple files and export them using feature flags 2023-07-21 21:01:10 +08:00
gengteng
b02e9a9562 modify: Rejection type of HasValidate for Path 2023-07-15 14:51:27 +08:00
gengteng
ba3b23a419 update 2023-06-06 13:53:47 +08:00
gengteng
0e5d7c6edb add doc 2023-06-06 12:10:45 +08:00
gengteng
273372d6ce rename valid to inner 2023-06-06 11:43:32 +08:00
gengteng
486e3eb93e update to 0.2.0 2023-06-06 11:42:17 +08:00
gengteng
9de1b42ce4 inner 2023-06-06 11:35:11 +08:00
gengteng
984a46d0bf init 2023-06-06 09:45:14 +08:00