Hi, because of senecajs/seneca-web#18 , the list behavior, described in the readme with GET /api/rest/foo: return a list of all foo entities doesn't work.
The issue is solved in master, but a new release of seneca-web and of seneca is needed to solve the problem.
In the mean time, a workaround is
git clone https://github.com/rjrodger/seneca-web
cd senaca-web
npm install
npm link
and then in the seneca-json-rest folder, or the module using it.
rm -rf node_mobules/seneca
npm link seneca-web
npm i
Hi, because of senecajs/seneca-web#18 , the list behavior, described in the readme with
GET /api/rest/foo: return a list of all foo entitiesdoesn't work.The issue is solved in master, but a new release of seneca-web and of seneca is needed to solve the problem.
In the mean time, a workaround is
git clone https://github.com/rjrodger/seneca-web cd senaca-web npm install npm linkand then in the seneca-json-rest folder, or the module using it.
rm -rf node_mobules/seneca
npm link seneca-web
npm i