Commit Graph

23 Commits (main)

Author SHA1 Message Date
Sean McArde 1135eea353 Merge branch 'dev' 2023-12-11 16:10:41 -08:00
Sean McArde 77d6c3f1a6 Pulled in my silly object dumping function. 2023-11-11 17:16:51 -08:00
Sean McArde aef5190f3e Removed the static GenerateExpressionPolicyForType and fleshed out more interfaces. Need testing with nested policies which rely on a specific expression generator for correctness. 2023-09-07 17:39:25 -07:00
Sean McArde 7be468895d Fixed null bug. 2023-09-02 11:30:15 -07:00
Sean McArde 9816801cbe Fixed null bug. 2023-09-02 10:00:17 -07:00
Sean McArde 739ed9021c Added unit testing project. 2023-07-24 13:01:13 -07:00
Sean McArde 9478aa9bfc Fixed intent of negative match. The Not expression was a bitwise operation rather than logical operation. Whoops. 2023-07-24 13:01:13 -07:00
Sean McArde 5571844591 Revved version number. 2023-07-24 13:01:13 -07:00
Sean McArde 65a7db7250 Renaming from filter to expression and adding a public interface. 2023-07-11 14:55:16 -07:00
Sean McArde 1685a3e290 Added test case. Need to move these into unit tests that fully exercise the rule engine. 2023-07-09 13:01:28 -07:00
Sean McArde 6178752da7 Updated Dump function to print out arrays of objects in tables with handling for null properties and array properties. Not exhaustive or robust, just a debugging aid. 2023-07-09 12:56:24 -07:00
Sean McArde e7b17dc0d3 Renamed Filter to Predicate or PredicateExpression to favor generalized nomenclature. 2023-07-08 15:55:35 -07:00
Sean McArde 364e4bde91 Added case insensitive string comparisons. 2023-07-07 13:42:37 -07:00
Sean McArde 7fa2672d66 Experimenting with API for collections of rules. 2023-03-30 21:10:51 -07:00
Sean McArde 43d9bca9b9 Upper cased public properties to match naming scheme. 2023-03-30 13:54:55 -07:00
Sean McArde f6f068e44d Renamed project. Prepping for nuget package. 2023-03-17 09:50:12 -07:00
Sean McArde 8efb309abc Updated to utilize FilterRule refactor. 2023-03-16 17:03:45 -07:00
Sean McArde bd023fe166 Added Enumerable.Contains checks for single dimensional collections. 2023-03-16 10:43:49 -07:00
Sean McArde 0d97264a64 Added inner policy rules so expressive nesting is possible. Also added another token to the rule tuple specifying which type the rule applies to. This way a policy associated to a given identity or context can apply to multiple types. 2023-03-14 13:54:52 -07:00
Sean McArde ea36a8ff15 Added allowance for lvalue comparison operators to so you can filter for properties > < >= <= <> a given value. Also added handling for Nullable types. 2023-03-13 18:01:54 -07:00
Sean McArde c2949d4624 Fixes after moving to net standard. 2023-03-13 13:01:54 -07:00
Sean McArde dbed12ddc9 Added solution file and updated filter extensions 2023-03-13 12:53:26 -07:00
Sean McArde 4981c33720 Initial commit 2023-03-11 21:43:31 -08:00