THREESCALE-16302 Remove cmp.Diff of openapi structs - #1192
borisurbanik wants to merge 1 commit into
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1192 +/- ##
==========================================
+ Coverage 44.03% 44.65% +0.62%
==========================================
Files 204 208 +4
Lines 20960 21234 +274
==========================================
+ Hits 9230 9483 +253
- Misses 10933 10951 +18
- Partials 797 800 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
tkan145
left a comment
There was a problem hiding this comment.
There are other cmp.Diff in the code, can we remove them all? Keep the log though, I don't see why we need to call cmp.Diff to compare string/bool/int.
58ce5f2 to
a70e09a
Compare
Removed all cmp.Diff occurrences. |
|
Can we keep those log values please 😅 |
Also on PR review request replaced cmp.Diff with logging values directly.
a70e09a to
9fde8fc
Compare
Updated, added "existing" and "desired" kv entries for the logger. Please take a look again. |
Fixes:
Validation
Set up minimal 3scale dev environment.
Run the operator locally.
Wait for reconciliation. Then test the OpenApi will be created with schema with references:
Expected to not show error:
And the operator (make run) to not crash.