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

doc: add sentence about embed_as/1 #4573

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

SantaAna
Copy link
Contributor

Added a sentence letting the user know they need to implement their own embed_as/1 if they want their dump function to be called when exporting from Ecto e.g. when using Ecto.embedded_dump/2 .

I didn't realize the significance of the emed_as function until I looked at source and saw that it is called when dumping. Hoping this saves time for someone else down the road.

add sentence letting user know they must implement their own embed_as/1
if they want their dump function to be used when exporting from Ecto.
@greg-rychlewski greg-rychlewski merged commit 67afe55 into elixir-ecto:master Feb 3, 2025
7 checks passed
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.

4 participants