lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
417 stars 140 forks source link

Opening explorer API seems to not be parsing query params properly #253

Closed Camsbury closed 1 year ago

Camsbury commented 1 year ago

curl https://explorer.lichess.ovh/masters\?moves\=30 gives Failed to deserialize query string: invalid type: string "30", expected usize

niklasf commented 1 year ago

fixed via lichess-org/lila-openingexplorer@511c594e788b81e0c045153b2762612f9c48a414. needs investigation for the root cause.

niklasf commented 1 year ago

ah, it's https://github.com/nox/serde_urlencoded/issues/33 / https://docs.rs/serde_qs/0.12.0/serde_qs/index.html#flatten-workaround

Camsbury commented 1 year ago

Thanks!