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

Merging responses into one #31

Open
ufobat opened this issue Jul 28, 2016 · 1 comment
Open

Merging responses into one #31

ufobat opened this issue Jul 28, 2016 · 1 comment
Labels

Comments

@ufobat
Copy link
Contributor

ufobat commented Jul 28, 2016

Hi there,
when the member "response" of Rethinkdb::Response is a hash instead of an array
(see https://github.com/njlg/perl-rethinkdb/blob/master/lib/Rethinkdb/Response.pm#L39 )
the code in at https://github.com/njlg/perl-rethinkdb/blob/master/lib/Rethinkdb/IO.pm#L410 will probably fail

    push @{ $res_data->{r} }, @{ $more->response };

because

     $more->response

returns a hash instead of an array

@njlg
Copy link
Owner

njlg commented Aug 2, 2016

Cool. I'll look into that. I need to figure out a good way to test that part of the code.

@njlg njlg added the bug label Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants