icydb 0.257.21

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
 --> tests/fail-guards/reference.rs:3:1
  |
3 | / icydb::endpoints! {
4 | |     icydb_sql_query(introspection = true, authorization = guard(reference_guard));
5 | | }
  | | ^
  | | |
  | |_expected fn pointer, found fn item
  |   expected due to this
  |
  = note: expected fn pointer `fn(ReadAuthorizationContext) -> ReadAuthorizationDecision`
                found fn item `for<'a> fn(&'a ReadAuthorizationContext) -> ReadAuthorizationDecision {reference_guard}`
  = note: this error originates in the macro `$crate::__icydb_endpoints_internal` which comes from the expansion of the macro `icydb::endpoints` (in Nightly builds, run with -Z macro-backtrace for more info)