Skip to content

fix(gamma): add missing teams field to Event#331

Open
solanabettercall wants to merge 1 commit intoPolymarket:mainfrom
solanabettercall:main
Open

fix(gamma): add missing teams field to Event#331
solanabettercall wants to merge 1 commit intoPolymarket:mainfrom
solanabettercall:main

Conversation

@solanabettercall
Copy link
Copy Markdown

@solanabettercall solanabettercall commented Apr 12, 2026

Note

Low Risk
Low risk additive change: introduces an optional teams array on Event deserialization/serialization, with no behavioral logic changes.

Overview
Adds a missing teams: Option<Vec<Team>> field to the Event response model in src/gamma/types/response.rs, allowing event payloads to include full team objects (not just home_team_name/away_team_name).

Reviewed by Cursor Bugbot for commit 640baaf. Bugbot is set up for automated code reviews on this repo. Configure here.

@solanabettercall solanabettercall changed the title Add missing teams field to Event fix(gamma): add missing teams field to Event Apr 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.54%. Comparing base (77264a4) to head (640baaf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #331   +/-   ##
=======================================
  Coverage   85.54%   85.54%           
=======================================
  Files          32       32           
  Lines        5167     5167           
=======================================
  Hits         4420     4420           
  Misses        747      747           
Flag Coverage Δ
rust 85.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant