Commit Graph

48 Commits (main)

Author SHA1 Message Date
Sean McArde cdc819d2f5 Updated readme and bumped version. 2024-04-23 16:11:08 -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 de550ceee1 Bumped version. 2024-03-12 17:08:01 -07:00
Sean McArde d469df010c Nullchecks added. Pruned some whitespace. 2024-03-12 17:02:55 -07:00
Sean McArde a97a58e094 Working towards property filtering. 2023-12-11 16:33:06 -08:00
Sean McArde c806955ce6 Added missing usings. 2023-12-11 16:12:14 -08:00
Sean McArdle dfe02c34b6 Create DynamicTypeRegistry.cs 2023-12-11 16:07:47 -08:00
Sean McArde 4c4d609f5d Generic property selector, could be useful elsewhere. 2023-11-02 12:52:50 -07:00
Sean McArde 8c548fcd38 Initial implementation for nested property selector. Not null safe. 2023-11-02 12:52:32 -07:00
Sean McArde 54ba5be48a Made nullable type checks more understandable as they only apply to value types boxed as nullables and unified return semantics for values processed as strings. 2023-09-11 12:32:56 -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 484f517979 Bumped version with null literal feature. 2023-09-05 15:07:07 -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 4c54089c10 Bumped version. 2023-09-02 14:46:15 -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 7be468895d Fixed null bug. 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 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 9816801cbe Fixed null bug. 2023-09-02 10:00:17 -07:00
Sean McArde 2446257d6d Needs refactoring of duplicated code. Tests pass. 2023-09-02 09:42:42 -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 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 8081903698 Added negative predicate and negative string matches. 2023-07-24 13:01:13 -07:00
Sean McArde 45f14c36c6 Clean up. Good for me. 2023-07-24 13:01:13 -07:00
Sean McArde 5571844591 Revved version number. 2023-07-24 13:01:13 -07:00
Sean McArde 9ad34a8892 Cleanup 2023-07-11 15:27:12 -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 e7b17dc0d3 Renamed Filter to Predicate or PredicateExpression to favor generalized nomenclature. 2023-07-08 15:55:35 -07:00
Sean McArde 4f644f4d91 Revved version. 2023-07-07 14:11:13 -07:00
Sean McArde 0c3288eac1 Added default constructors so json.net will deserialize. 2023-07-07 14:11:12 -07:00
Sean McArde e7437dff50 Revved package version. 2023-07-07 14:10:54 -07:00
Sean McArde 364e4bde91 Added case insensitive string comparisons. 2023-07-07 13:42:37 -07:00
Sean McArde baa4aff322 Clearing out warnings. 2023-07-07 10:14:26 -07:00
Sean McArde e431808f69 Added interface for policy map so apps can define how they associate collections of policies. 2023-03-30 13:55:31 -07:00
Sean McArde 43d9bca9b9 Upper cased public properties to match naming scheme. 2023-03-30 13:54:55 -07:00
Sean McArde b82f4182f4 Refactoring types into their own files. Syncing up expression logic with Linqpad version. 2023-03-30 12:04:59 -07:00
Sean McArde c29dc6681c Added readme to nuget package. 2023-03-30 11:49:32 -07:00
Sean McArde 5ae57ade04 Probably bad form to overload the LinqKit namespace since it's not mine and it may one day become a dependency here. 2023-03-17 10:09:35 -07:00
Sean McArde 5ae2e46eda Packaging work. 2023-03-17 10:04:29 -07:00
Sean McArde f6f068e44d Renamed project. Prepping for nuget package. 2023-03-17 09:50:12 -07:00