feathersjs-offline / owndata-ownnet

This repository holds the necessary tools to bring own-data/own-net offline-first to FeathersJS applications.
https://feathersjs-offline.github.io/docs/
MIT License
17 stars 4 forks source link

context.params being overwriten on fixParams method #26

Closed tiagoit closed 3 years ago

tiagoit commented 3 years ago

Steps to reproduce

Expected behaviour

According to the docs, context.params is writable, so it should not be totally overwritten.

Actual behaviour

The method fixParams at server/src/index.js is overwriting the params preserving only query and paginate properties.

Module versions: "@feathersjs-offline/server": "^1.0.6",

NodeJS version: v12.20.2

mhillerstrom commented 3 years ago

Thank you for this.

mhillerstrom commented 3 years ago

Implemented.