Skip to content

docs(polymarket-resolution): snake_case to match wire convention#226

Merged
Mlaz-code merged 1 commit into
mainfrom
fix/polymarket-resolution-snakecase
May 14, 2026
Merged

docs(polymarket-resolution): snake_case to match wire convention#226
Mlaz-code merged 1 commit into
mainfrom
fix/polymarket-resolution-snakecase

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

Field is polymarket_resolution on the customer wire (matches odds_american, event_id, etc), not polymarketResolution. Docs landed with camelCase by mistake — that's the internal api-adapters publish format, not what customers see.

The customer-visible field name on /odds is polymarket_resolution
(snake_case), matching odds_american / event_id / selection_type /
volume_24h / exchange_token_id etc. Initial doc landed with
camelCase, which is what api-adapters emits internally on the
publish path but isn't what customers see on the SSE/REST wire.
@Mlaz-code Mlaz-code merged commit 2e67743 into main May 14, 2026
@Mlaz-code Mlaz-code deleted the fix/polymarket-resolution-snakecase branch May 14, 2026 02:33
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