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

Stop multi-dimensional arrays from breaking #269

Closed
dantownsend opened this issue Mar 13, 2024 · 0 comments · Fixed by #270
Closed

Stop multi-dimensional arrays from breaking #269

dantownsend opened this issue Mar 13, 2024 · 0 comments · Fixed by #270
Labels
bug Something isn't working

Comments

@dantownsend
Copy link
Member

Related to piccolo-orm/piccolo_admin#369

If we have a table like this:

class MyTable(Table):
    my_column = Array(Array(Integer()))

It breaks FastAPIWrapper, because it tries to add a list[list] as a query param, which isn't allowed.

For now, lets change it to a body param, which is allowed.

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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant