-
Notifications
You must be signed in to change notification settings - Fork 9
feat(equipment): Add equipment to entity snapshots #39
Conversation
Ahh yes, classic 😄 Check out this one 🙂 https://github.com/markus-wa/cs-demo-minifier/blob/master/replay/nondefault/nondefault_replay.go You'll need to add the new data in the |
If I understood correctly, I just have to add: Equipment: make([]rep.EntityEquipment, 0), Unfortunately, this results in the same test failure :( |
You will need at least one |
If you have some spare time, would you have a look on the failing snapshots tests related to the protobuf files, as I never have worked with protobuf. I guess somehow the build get stuck?! |
this should do it: 066b9e0 🙂 protobuf mappings for new fields need to be added manually (while events are just generic key/value pairs, so new ones are automatically mapped) |
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
==========================================
- Coverage 93.10% 93.06% -0.05%
==========================================
Files 6 6
Lines 595 620 +25
==========================================
+ Hits 554 577 +23
- Misses 22 23 +1
- Partials 19 20 +1
Continue to review full report at Codecov.
|
merged and released: https://github.com/markus-wa/cs-demo-minifier/releases/tag/v0.4.2 |
nice! ty |
Thank YOU! @LarsKoelpin 😄😄 |
Hi,
as stated in #38 I'd like to have the equipment in he snapshots.
The implementation seems to work, but the test is failing and I'm not really sure how to exactly fix them.
(something with default value comparison)