Skip to content

response_type! macro doesn't allow for top level Array responses #33

Open
@RustyNova016

Description

@RustyNova016

The current response_type! macro is built in such a way that it only JSON that has an object at its top level can be parsed. However, new endpoints were made that return a top level Array instead: https://listenbrainz.readthedocs.io/en/latest/users/api/popularity.html

While I'm able to implement the endpoints, I have no experience in macros. Would be nice to have it fixed so I can implement them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions