khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 30 forks source link

Fix to manage unblessed references in _compile_column #31

Closed brunoramoslu closed 6 years ago

brunoramoslu commented 7 years ago

If understand correctly the desired behavior, the _compile_column fonction should be able to manage both blessed and unblessed references, but currently the unblessed part is broken (example music app broken for albums part where unblessed references are used). This fix insures that unblessed references are managed properly. I tested this against the music_app examples.

khrt commented 7 years ago

@brunoramoslu thanks for the PR but could you also provide a test case for the fix?