Add MongoDB integration tests for all strfmt BSON types#215
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #215 +/- ##
=======================================
Coverage 85.01% 85.01%
=======================================
Files 14 14
Lines 2015 2015
=======================================
Hits 1713 1713
Misses 218 218
Partials 84 84 ☔ View full report in Codecov by Sentry. |
…orkflow Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
16bceb8 to
1eaefbd
Compare
|
@copilot this is rebased. Please upgrade mongo driver to v2 and go mod tidy |
Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
Done in f8f788d. Updated integration test module to |
|
@copilot fixing the integration test after mongodb upgrade to v2 seems more complex than first expected. All tests fail with a message similar to: === RUN TestSSN |
Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
Fixed in 374e2c0. In mongo-driver v2, nested sub-documents within a decoded |
go.modgo mod tidybson.M→bson.Dtype assertions for mongo-driver v2 compatibility (nested docs decode asbson.Din v2)✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.