Commit Graph

26 Commits (main)

Author SHA1 Message Date
Sean McArde 6e523ce7a8 Added test for case insensitive comparison. 2024-04-23 16:07:37 -07:00
Sean McArde 0481f352d5 Fixed test breaking when context isn't fully initialized yet. 2024-04-23 15:51:12 -07:00
Sean McArde cd24d36aa7 ContainsKey method call will now short circuit expression evaluation. 2024-04-23 15:45:33 -07:00
Sean McArde e6389cab1d Basic Dictionary string values can be pulled but ContainsKey checks aren't performed. 2024-04-23 13:26:40 -07:00
Sean McArde a4a2b12db4 NO MERGE. Tests broken. 2024-04-22 18:12:45 -07:00
Sean McArde a3f5324776 Moved test policies into their own file. 2024-04-22 15:12:43 -07:00
Sean McArde f17ac2582f Added tests that utilize the Pgsql expression generator. It's in use in another application and appeared to be a source of bugs. 2024-03-12 17:03:33 -07:00
Sean McArde 8c548fcd38 Initial implementation for nested property selector. Not null safe. 2023-11-02 12:52:32 -07: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 2b2a64c069 Merge remote-tracking branch 'origin/dev' 2023-09-05 15:03:28 -07:00
Sean McArde 9d35567c15 Added null literals via handlebar syntax. 2023-09-05 13:55:53 -07:00
Sean McArde 780bf97abe Test coverage work. 2023-09-02 14:44:08 -07:00
Sean McArde fac5734cf2 Added a virtual base class and child classes to reuse code. I don't like inheritance and vtable lookups but this shouldn't be critical path and caching can help with that later. 2023-09-02 11:30:15 -07:00
Sean McArde c65aba2048 Needs refactoring of duplicated code. Tests pass. 2023-09-02 11:30:15 -07:00
Sean McArde 48bc308c83 Renamed test to convey intent. 2023-09-02 11:30:15 -07:00
Sean McArde 287f5e6549 Converted from record to class. 2023-09-02 11:30:15 -07:00
Sean McArde 1365ba544e TEST BROKEN - working on EF string comparisons. 2023-09-02 11:30:15 -07:00
Sean McArde 62a2df774c Added a virtual base class and child classes to reuse code. I don't like inheritance and vtable lookups but this shouldn't be critical path and caching can help with that later. 2023-09-02 11:20:24 -07:00
Sean McArde 2446257d6d Needs refactoring of duplicated code. Tests pass. 2023-09-02 09:42:42 -07:00
Sean McArde 99dcf3f3df Renamed test to convey intent. 2023-09-02 08:40:33 -07:00
Sean McArde f8b30208fe Converted from record to class. 2023-09-02 08:40:20 -07:00
Sean McArde 6332a2186d TEST BROKEN - working on EF string comparisons. 2023-09-01 20:26:17 -07:00
Sean McArde fb0f797326 Added expression builder that explicitly supports EF. String comparison methods that would e invalid for translating to EF expression are not used. 2023-09-01 12:10:17 -07:00
Sean McArde 76ff0b8201 Code coverage gaming. 2023-07-24 14:19:12 -07:00
Sean McArde 7f623d9c87 Added more tests and removing unused code. 2023-07-24 14:14:51 -07:00
Sean McArde 739ed9021c Added unit testing project. 2023-07-24 13:01:13 -07:00