developmentseed / hapi-paginate

A simple pagination for hapijs responses
14 stars 6 forks source link

Should not remove non-colliding fields in meta #13

Open raymondyong opened 8 years ago

raymondyong commented 8 years ago

When using hapi-pagination, it removes all our custom meta.* properties, even ones that don't collide with hapi-pagination. We attempted to correct this by renaming pagination's meta object to "page" through config. The rename was successful, but our own meta properties continued to be missing.

scisco commented 8 years ago

@raymondyong thanks for reporting. I'll take a look.

raymondyong commented 8 years ago

Oops. This is embarrassing. I reported the issue in the wrong repository. Sorry.