We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
build_child/1
That is, the following test fails
test "build_child/1" do comment = %Comment{id: 17, path: [89]} assert %Comment{id: nil, path: [89, 17]} = Comment.build_child(comment) end
with
1) test build_child/1 (DemoTest) test/demo_test.exs:5 match (=) failed code: assert %Comment{id: nil, path: [89, 17]} = Comment.build_child(comment) right: %{__struct__: Demo.Comment, path: [89, 17]} stacktrace: test/demo_test.exs:7: (test)
The text was updated successfully, but these errors were encountered:
build/1
A possible is it to take the parent struct and nillify all fields except for column_name for path. Then the struct structure would be preserved.
column_name
Sorry, something went wrong.
No branches or pull requests
That is, the following test fails
with
The text was updated successfully, but these errors were encountered: