Skip to content

Rename market symbol filter to market_id - #12

Merged
arjunjain merged 1 commit into
mainfrom
market/update
Aug 13, 2026
Merged

Rename market symbol filter to market_id#12
arjunjain merged 1 commit into
mainfrom
market/update

Conversation

@arjunjain

Copy link
Copy Markdown
Collaborator

Syncs this client with the python-client market update (PRs #24–#26).

Request filter

The /market and /market/count endpoints now take market_id instead of symbol. The old filter was removed upstream (62c4f80 removed symbol filter from market endpoints), so no back-compat alias is kept — this is a breaking change for anyone passing symbol.

Verification

Full test suite passes. Note the published openapi.json is stale: it still documents symbol and has no market_id, so it could not be used to verify this change.

Parameters are validated against a generic per-endpoint allowlist here, so the change is confined to the filter constants (plus README/examples where symbol appeared).

Sync with python-client: the /market and /market/count endpoints now
take market_id instead of symbol. The old filter was removed upstream,
so no alias is kept. Updates the README and both examples too.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@arjunjain
arjunjain merged commit ea35669 into mainAug 13, 2026
9 checks passed
@arjunjain
arjunjain deleted the market/update branch August 13, 2026 06:53
Sign up for freeto 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.

2 participants

@arjunjain@codecov-commenter