juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
11.02k stars 1.19k forks source link

refactor(hyperswitch_constraint_graph): Removal of lifetime from the Constraint Graph framework #5132

Closed prajjwalkumar17 closed 5 days ago

prajjwalkumar17 commented 6 days ago

Type of Change

Description

Removes the lifetime parameter from Constraint Graph. Which was previously introduced due to Domains. Screenshot 2024-06-26 at 6 50 37 PM

Additional Changes

Motivation and Context

How did you test it?

Ran all the Unit test of Euclid crate as the Graph testcases are written there.

cargo test -p euclid --all-features -- --show-output
Screenshot 2024-06-26 at 6 54 15 PM

Checklist