feathersjs-ecosystem / feathers-nedb

A service using NeDB, an embedded datastore for Node.js
MIT License
83 stars 19 forks source link

Read user preference when configuring id field #129

Open FossPrime opened 2 years ago

FossPrime commented 2 years ago

https://github.com/feathersjs-ecosystem/feathers-nedb/blob/5d8f84bb723c8ead9dbb70b422ff94b90330ed1d/lib/index.js#L15

This was detected when I tried turning NeDB into SQLite by modifying the id field.

// work around is adding resolvers to fix it. Sandbox that points to a folder in a specific commit of FPG 🤯