Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HeterogeneousEqual and HeterogeneousNotEqual to binary operation #220

Merged
merged 8 commits into from
May 26, 2024

Conversation

Tipnos
Copy link
Contributor

@Tipnos Tipnos commented May 23, 2024

Fixes biscuit-auth/biscuit#130 with backward compatibility for existing biscuit

  • Strict equal
  • Strict not equal
  • Unit tests
  • Samples

@Tipnos Tipnos changed the title WIP: Add HeterogeneousEqual and HeterogeneousNotEqual to binary operation Add HeterogeneousEqual and HeterogeneousNotEqual to binary operation May 23, 2024
@Tipnos Tipnos marked this pull request as draft May 23, 2024 15:22
@divarvel divarvel mentioned this pull request May 24, 2024
9 tasks
expression.ops.iter().any(|op| match op {
Op::Value(term) => contains_v5_term(term),
Op::Binary(binary) => match binary {
Binary::HeterogeneousEqual | Binary::HeterogeneousNotEqual => true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Tipnos Tipnos force-pushed the heterogeneous-equals-optin branch 3 times, most recently from 97d0a9f to d44f9bd Compare May 24, 2024 13:08
@Tipnos Tipnos marked this pull request as ready for review May 24, 2024 13:10
@Tipnos Tipnos force-pushed the heterogeneous-equals-optin branch from d44f9bd to 0076b78 Compare May 24, 2024 13:26
@Geal Geal merged commit ed803c1 into biscuit-auth:v5 May 26, 2024
2 checks passed
@Geal
Copy link
Contributor

Geal commented May 26, 2024

this is good to go, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants