Unable to use Vision views within route with pagination on
apandre opened this issue · comments
Alex Pandre commented
I'm using hapi.js v17.x, and if I would like to output pagination result with a Vision based view, I'll get error.
If I tried to
return h.view('viewname', data);
it will throw error. Something about Array was expected.
Any advice?