queryweave-api 0.2.1

The API runtime of queryweave: page and sort direction types for API mirrors of a domain model, with optional serde, utoipa and schemars support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0277]: the `serde` integration needs `queryweave-api`'s `serde` feature
 --> $DIR/serde.rs:5:34
  |
5 | const _: () = requires_feature::<queryweave_api::SortDirectionDto>();
  |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `queryweave-api` is built without its `serde` feature
  |
  = help: the trait `Serde` is not implemented for `SortDirectionDto`
  = note: enable it: `queryweave-api = { version = "..", features = ["serde"] }`
note: required by a bound in `requires_feature`
 --> $DIR/serde.rs:3:30
  |
3 | const fn requires_feature<T: queryweave_api::features::Serde>() {}
  |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `requires_feature`