biscuit-auth / biscuit-rust

Rust implementation of the Biscuit authorization token
https://www.biscuitsec.org
206 stars 28 forks source link

Implement query_exactly_one #214

Open baranyildirim opened 5 months ago

baranyildirim commented 5 months ago

Implement query exactly one to make it easier to work with single-fact queries. Added relevant doctest and unittests. This should close #187 As a side note, a lot of errors in Token::Error don't expose the underlying error (e.g. RunLimit) in their error message. Is this intentional?

divarvel commented 5 months ago

LGTM.

tbf the whole Token::Error hierarchy would need a refresh

divarvel commented 5 months ago

The capi build failure is being worked on, I think