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

Don't mess with args in the encode function #10

Merged
merged 1 commit into from Jul 29, 2016

Conversation

sje397
Copy link

@sje397 sje397 commented Jul 29, 2016

This fixes a bug in the encode function which changes the content of the 'method' field (prepending the internal_namespace value). This prevents multiple calls to encode with the same args table. You may want this if you want to e.g. call 'encode' on the table and log the output, then pass the table to 'client.call'.

@tomasguisasola tomasguisasola merged commit 0369783 into tomasguisasola:master Jul 29, 2016
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.

None yet

3 participants