oknozor / musicbrainz_rs

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

feat(includes): support level relationship includes #64

Closed ritiek closed 3 years ago

ritiek commented 3 years ago

This work builds upon #57 and #60. I'll rebase this PR and mark it as not-draft when those PRs get merged.

Addresses #10.

ritiek commented 3 years ago

It seems like Release supports both work and recording level relationship includes, while Recording supports only work level relationship includes. I've added support for these two. All other entities (besides these two) when attempting to request for level relationship includes return an error in the web-api:

work-level-rels/recording-level-rels is not a valid inc parameter for the [entity] resource.

which means they're probably not supported.

This is ready for review!