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

Add Poison.encode_to_iodata(!)/2 back #197

Merged
merged 2 commits into from
May 31, 2024
Merged

Commits on Aug 6, 2021

  1. Add Poison.encode_to_iodata(!)/2

    Having an explicit function plays nicer with dialyzer
    and makes Poison simpler to use as callbacks.
    
    Ideally we would deprecate the :iodata option in
    encode and titghen its typespecs but I haven't done
    so in this commit in order to keep backwards
    compatibility.
    José Valim authored and RudolfMan committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    d9a113d View commit details
    Browse the repository at this point in the history
  2. Bring back Poison.encode_to_iodata/1

    adjust examples
    RudolfMan committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    4495364 View commit details
    Browse the repository at this point in the history