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
Allow belongs_to via changesets #1102
Comments
We should also support |
This is now in master. @paulcsmith, could you please check if, when using Ecto master, ExMachina no longer needs any of the Ecto code? For example, we support inserting the whole tree directly, like here: |
@josevalim This will be so awesome! I was able to remove all of the Ecto code and still have almost all the tests passing It almost worked. These two tests failed when the association was Here's the stack trace:
I'll pull the latest Ecto and see if it's a problem in Ecto or in ExMachina and Ecto together. I'll open a PR if there's a problem in Ecto |
@josevalim So Ecto is totally fine. It fails if you explicitly set an So I just need to update the tests in ExMachina once Ecto 2.0 drops. Ecto side looks great 👍 |
That's so awesome, I am so excited! :D |
The main blocker for this feature in the past was how callbacks would work. Given callbacks are on the way out, this feature will be straight-forward to implement. It is pending on callbacks being effectively removed.
The text was updated successfully, but these errors were encountered: