oknozor / musicbrainz_rs

A wrapper around the musicbrainz API
MIT License
38 stars 18 forks source link

Browse requests have invalid include parameters #85

Open RustyNova016 opened 4 months ago

RustyNova016 commented 4 months ago

When doing a Browse request on the entity, the crates allow to add includes. However, those includes are the same as a Fetch request, while the API is requesting other parameters.

So when doing Recording::browse().by_artist("410c9baf-5469-44f6-9852-826524b80c61").with_artists().execute(), the crate send this request: https://musicbrainz.org/ws/2/recording?artist=410c9baf-5469-44f6-9852-826524b80c61&inc=artist

instead of: https://musicbrainz.org/ws/2/recording?artist=410c9baf-5469-44f6-9852-826524b80c61&inc=artist-credits