-
Notifications
You must be signed in to change notification settings - Fork 219
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
Poison.decode/1 invalid method signature. #149
Comments
I am seeing the same issue on This is acceptable because of the major version bump, and surely would have been mentioned in the CHANGELOG if there was one. However, this change was then removed: a4208a6#diff-574cf330de0ee486ba021c9eaa1f0e7bL42 so it seems that @KamilLelonek -- Can you verify the version you were using when conducting the above test? Perhaps @devinus can explain the reasoning for the change and subsequent revert? |
From what I see, I was using |
Bump. |
@alakra -- the conclusion above was that this issue appears to be limited to |
Not really. I'm using |
Yeah sorry, my mistake, the fix is only on |
So how is this going? This kind of problem is the prime candidate to create a bugfix-release for 3.1.X that has updated documentation to match the actual behaviour that Poison has. |
According to the documentation:
The invalid cases are either
{:error, :invalid}
or{:error, {:invalid, String.t}}
.However, have a look at this example:
so we are getting
{:error, :invalid, integer()}
.And that one:
which is basically:
{:error, {:invalid, String.t(), integer()}}
Aren't docs up to date then?
The text was updated successfully, but these errors were encountered: