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

Allow literal struct in insert_all + add recent changes to docs #4489

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

greg-rychlewski
Copy link
Member

I was adding the recent changes to the insert_all docs and thought we should probably allow literal structs too.

@greg-rychlewski greg-rychlewski merged commit 92f07d8 into elixir-ecto:master Aug 12, 2024
6 checks passed
@greg-rychlewski greg-rychlewski deleted the insert_all_docs branch August 12, 2024 18:23
@josevalim
Copy link
Member

@greg-rychlewski after some thought, I am reverting this change. I think a struct is a bit semantically weird because it has all fields. So does it mean you include all fields, considering the struct defaults? 🤔 Since I am shipping v3.12.1, I don't want to include it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants