bedeoverend / feathers-datastore

MIT License
9 stars 3 forks source link

Get `kind` from `name` #11

Open PowerOfM opened 6 years ago

PowerOfM commented 6 years ago

Following the convention of other FeathersJS database wrappers, the kind or type attribute usually comes from the name option. It would be nice to have options.name as a fallback when options.kind is undefined.