Tristan Cartledge
161a41f73b
chore: update to use iterators on orderedmaps
2024-08-26 20:42:40 +01:00
Emilien Puget
cbe1201cbd
removed golang x package in favour of the std lib
2024-07-08 10:13:23 -04:00
quobix
7afb1e9d11
Addressed #159
...
Cleaned up all interesting static checks. All that is left is cosmetics.
Signed-off-by: quobix <dave@quobix.com >
2024-02-06 22:13:41 -05:00
quobix
c8d4f72be5
Addressd issue #218
...
Signed-off-by: quobix <dave@quobix.com >
2024-01-18 15:11:39 -05:00
Tristan Cartledge
a4ad09aab3
fix: continued moving everything to orderedmaps plus cleaned up most the tests
2023-12-01 17:37:07 +00:00
Tristan Cartledge
2de65e4ca0
Merge branch 'main' into Baliedge/PIP-2552-consistent-ordering
2023-11-27 12:06:39 +00:00
Tristan Cartledge
8531113e17
fix!: fixed handling of additionalProperties to handle the bool/json-schema nature better
2023-10-05 09:31:16 -04:00
Shawn Poulson
f389fedadd
Monster refactor of map to orderedmap.Map data type.
2023-09-25 08:59:42 -04:00
quobix
dab6346750
Fixed schema comparison for out of order keys. #170
...
Keys were being compared incorrectly due to a combination of a swapped property, that sorts differently.
Signed-off-by: quobix <dave@quobix.com >
2023-09-18 08:27:41 -04:00
Tristan Cartledge
58433a6ffc
fix: add missing const value to schema
2023-09-13 06:13:09 -04:00
Dave Shanley
c3cf5f1e38
Added support for unevaluatedProperties as Schema and bool #118
...
Also ran `gofmt` across the entire project. Things need cleaning up.
Signed-off-by: Dave Shanley <dave@quobix.com >
2023-06-17 14:12:27 -04:00
Dave Shanley
5189eadddc
Large refactor and addedGetAllChanges to each change
...
tons of updates, so many things.
2023-03-26 06:10:31 -04:00
Dave Shanley
3fd088b217
Increased coverage for model back to 100%
2022-12-09 07:06:34 -05:00
Dave Shanley
b3f0a0b1ae
Working on model changes to resolve #38 and #28 **breaking change**
...
Also adding in other properties to schema that are missing. Test coverage still needs improving and this is a breaking change to low and high models.
2022-12-09 07:06:34 -05:00
Dave Shanley
7a159bb467
fix: Fixed inaccurate property checks on schemas for what-changed
...
Schema properties were not being correctly checked, as validated when using the models to render a UI.
2022-11-29 09:35:17 -05:00
Dave Shanley
0e0b99225d
Moved what-changed PropertyChanges to a pointer in all models.
...
No breaking changes, gofmt seems to have gone a little nuts for some reason, but this is an internal change that moves everything to a pointer, for better reflection use down the chain.
2022-11-23 12:57:10 -05:00
Dave Shanley
62d580e671
Added what-changed documentation to methods and structs.
...
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-11-21 10:44:04 -05:00
Dave Shanley
ddf772270e
What-changed is ready
...
Needs documenting, but the feature is ready for an application to really stress test the model and logic.
Guess what's next :) (after docs)
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-11-20 14:30:50 -05:00
Dave Shanley
26d3535e75
Working through what-changed fixes and tuneups.
...
more testing is required, however things feel quite reasonable and rounded. All changes correctly detected in a spec so far.
2022-11-20 14:30:50 -05:00
Dave Shanley
fcd4a0f57d
Refactoring the what-changed again
...
I cannot pull these models apart, they are too inter-connected and imports will cycle.
2022-11-18 11:00:34 -05:00
Dave Shanley
1197562438
Refactoring what-changed
...
there are too many files in the root package now and it's a mess, so this is a staged approach to cleanly refactor into clear packages.
2022-11-18 11:00:34 -05:00