Last active
April 22, 2017 20:29
-
-
Save elbow-jason/434b277ab0a8d8cbac48f1866972bad5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defimpl Poison.Encoder, for: Ecto.Association.NotLoaded do | |
def encode(_struct, _options) do | |
"null" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment