Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Better QueryParameter handling #2257

Open
arne-fuchs opened this issue Oct 17, 2024 · 0 comments
Open

[Request] Better QueryParameter handling #2257

arne-fuchs opened this issue Oct 17, 2024 · 0 comments

Comments

@arne-fuchs
Copy link

Currently if you try for example to get output ids, you are able to pass query parameters, which are not supported by design (like querying an address while there are outputs which have no address like alias).

Trying to call such thing will result in a confusing error message:

an indexer API request contains a query parameter not supported by the endpoint: address=snd1zqa0zl20r5w8c5j3m5eqevlw99n8as2at5852xt5mgl8dkvq8dm2y3mlj6e.

This should be handled better by either not being able to pass such query parameters in code such that it throws a compile error
or by sending a more detailed error message which points, that it is not supported for those requests by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant