-
Notifications
You must be signed in to change notification settings - Fork 9
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
Arrays in maps/structs get passed as dynamic(...)
calls
#39
Comments
Hey @dmitriid can you try |
@zachdaniel I'm now running into a weird behavior (?) on my machine where it works with current released versions of ash, but not with I apologize in advance if I don't answer on this issue or look into code, I might not get to this until Thursday Works
Doesn't work
|
please try |
@zachdaniel I got to code earlier, and all I can say: you're a wizard :)
And then:
This also worked with a huge nested object: Click to see large unformatted query hidden
|
nice :) |
Describe the bug
This started even in the 2.x branch of Ash towards "the end" of 2.x, I can't pinpoint the actual version now.
To Reproduce
Given this:
Then:
All arrays are converted to
dynamic(...)
on any nesting level of the passed structRuntime
{:ash, "~> 3.0.10"}
{ash_postgres ~> 2.0.6}
ash_sql
pointing tomain
branch. At the time of the report it's this commit: 9deb8e4Additional context
This definitely worked at some point in 2.x. I have a blog post published on on May 3rd that uses code that uses this feature, and it's published correctly. So, sometime in the past month something changed :D
The text was updated successfully, but these errors were encountered: