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

BadRequest when filtering with invalid UUID #331

Open
pehbehbeh opened this issue Jun 14, 2024 · 0 comments
Open

BadRequest when filtering with invalid UUID #331

pehbehbeh opened this issue Jun 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pehbehbeh
Copy link
Member

This works:

https://backpex.live/admin/posts?filters[user_id][]=098f1b60-54d6-40bc-a8f9-986b2c95c1a9

This results in a bad request:

https://backpex.live/admin/posts?filters[user_id][]=INVALID

This is because we are trying to cast the value to a UUID internally.

@pehbehbeh pehbehbeh moved this to Ready in Backpex Development Jun 14, 2024
@pehbehbeh pehbehbeh added the bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

1 participant