Closed vi closed 1 year ago
@dewert99, Done.
Some changes:
inhibit_automatic_where_clause="true"
to automatic_where_clause="false"
to avoid double negation in API. Internal name stays inhibit_automatic_where_clause
due to Default
implementation.automatic_where_clause="false"
works and will not be accidentally broken (i.e. by implementing automatic where clauses for #[delegate_to_methods]
) without a major semver increase.This looks great do you think you could run rustfmt
and then I can pull this
Allows to opt out of where clause, in cases where it gets in the way.
My use case:
It allows user to request structural typing (like with
target="self"
), but with other targets instead ofself
.If this feature is welcome in
ambassador
, I can also provide in this pull request: