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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SantaAna
Copy link

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.
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.

3 participants