Commit Graph

233 Commits

Author SHA1 Message Date
Tom Alexander
7d4cb14530
Add that check to the not-equals helper and update the json value implementation to mark all non-scalars as not-equals. 2020-05-16 15:30:17 -04:00
Tom Alexander
41e4874d75
Add a check to the equality helper to mark identical paths as equal. 2020-05-16 15:22:48 -04:00
Tom Alexander
d751df6fd5
Add tests for copied values. 2020-05-16 14:48:04 -04:00
Tom Alexander
6dbeb77a28
Add arrays to all helpers tests. 2020-05-16 14:19:56 -04:00
Tom Alexander
2b5bec05be
Implemented partial_compare for scalar json values. 2020-05-16 14:08:59 -04:00
Tom Alexander
71e6da39ee
Add a test for boolean comparison. 2020-05-16 13:46:31 -04:00
Tom Alexander
563fd1f6db
Starting comparison of json value to json value. 2020-05-16 13:44:34 -04:00
Tom Alexander
9851a2556d
Ordering implementation for comparison between json and literals. 2020-05-16 13:40:56 -04:00
Tom Alexander
8748cb7063
Structure for ordering, need to implement for serde_json::Value. 2020-05-16 13:31:52 -04:00
Tom Alexander
8a44bc6fd9
Add greater-than-specific tests to investigate string ordering. 2020-05-16 13:06:52 -04:00
Tom Alexander
f390c05a4c
Finished porting over the equality test to greater than. 2020-05-16 13:00:09 -04:00
Tom Alexander
196740ae34
Starting the greater than helper tests. 2020-05-16 12:51:27 -04:00
Tom Alexander
ed7b1f5b3e
Merge branch 'helper_not_equals' into dust_helpers 2020-05-16 12:27:01 -04:00
Tom Alexander
f4a935224c
Implemented the not equals helper. 2020-05-16 12:26:28 -04:00
Tom Alexander
94cedef3ef
Added a test for not equals which is roughly a copy of the equals test. 2020-05-16 12:23:08 -04:00
Tom Alexander
e04a0be5e7
Add the rest of the helpers to the recursive extract inline partials function. 2020-05-16 12:13:40 -04:00
Tom Alexander
3c85717952
Merge branch 'remove_lifetime_from_context_elements' into dust_helpers 2020-05-10 23:43:19 -04:00
Tom Alexander
1b63bc4083
Add a test for integer literals. 2020-05-10 23:42:56 -04:00
Tom Alexander
6e6560c742
Revived the tests. 2020-05-10 23:38:59 -04:00
Tom Alexander
c88cab8316
Hook in the integer parser. 2020-05-10 23:13:25 -04:00
Tom Alexander
9ee8f41022
Implement the render send of integer literals. 2020-05-10 23:11:16 -04:00
Tom Alexander
79099a8654
Parsing positive integers. 2020-05-10 23:02:21 -04:00
Tom Alexander
7dd824ab4f
cleaning up. 2020-05-10 22:40:47 -04:00
Tom Alexander
68639481f5
Implement a real clone for ParametersContext. 2020-05-10 22:35:17 -04:00
Tom Alexander
46bb5558ac
Going to a more generic equality comparison for json. 2020-05-10 22:26:47 -04:00
Tom Alexander
6297fa0189
Rename NewParametersContext to ParametersContext. 2020-05-10 22:21:18 -04:00
Tom Alexander
75ba35a422
Cleaning up. 2020-05-10 22:20:39 -04:00
Tom Alexander
6261f7881c
Manual equals is working! 2020-05-10 22:14:07 -04:00
Tom Alexander
2fb7ca9db7
Making CastToAny more generic. 2020-05-10 22:05:48 -04:00
Tom Alexander
9baa669dea
Separating out CastToAny. 2020-05-10 22:04:41 -04:00
Tom Alexander
d5e0c93205
Comparisons between json strings vs rvalue literals is not working as I had hoped. 2020-05-10 21:49:03 -04:00
Tom Alexander
798d84828e
Implemented owned_walk_path. 2020-05-10 21:38:37 -04:00
Tom Alexander
dade738f55
The structure is all there, just need to implement owned_walk_path and clone on NewParametersContext. 2020-05-10 21:34:18 -04:00
Tom Alexander
4e274b9ea5
Running into the walking issue again. 2020-05-10 21:28:47 -04:00
Tom Alexander
137e7887a0
Finish implementing DTHelperEquals. 2020-05-10 21:14:51 -04:00
Tom Alexander
32abe41e1a
Generic implementation of CompareContextElement. 2020-05-10 21:11:49 -04:00
Tom Alexander
256051220d
Generic implementation of CloneIntoBoxedContextElement. 2020-05-10 21:07:31 -04:00
Tom Alexander
ba79369b5a
PartialEq works with results too. 2020-05-10 21:00:52 -04:00
Tom Alexander
7f89685537
PartialEq implemented too. 2020-05-10 21:00:06 -04:00
Tom Alexander
e986a1ba7a
PartialEq compiling with double lifetimes. 2020-05-10 20:58:47 -04:00
Tom Alexander
8fd2a9cf39
tentatively seems to be working. 2020-05-10 19:16:55 -04:00
Tom Alexander
c96b2257d7
Compiling.
Need to see if I can do a generic implemented of IntoBoxedContextElement for all objects implementing Copy, and I need to implement the compare code to make sure this all works before I start integrating this more.
2020-05-10 19:07:41 -04:00
Tom Alexander
5c79b436a0
Commenting out the parameterscontext type. 2020-05-10 19:01:02 -04:00
Tom Alexander
6fb329388f
Not having much luck. 2020-05-10 18:45:54 -04:00
Tom Alexander
b9cfa56c2f
May have to use unsafe code. 2020-05-10 18:35:24 -04:00
Tom Alexander
9573480973
converting the parameters 2020-05-10 18:19:06 -04:00
Tom Alexander
876bced188
Converting RValues. 2020-05-10 18:10:17 -04:00
Tom Alexander
f386e5c31b
Adding trait to cast to Any. 2020-05-10 17:12:15 -04:00
Tom Alexander
c438653449
No luck. 2020-05-10 15:02:59 -04:00
Tom Alexander
7e0e776486
Running into lifetime issues. 2020-05-10 14:53:12 -04:00