feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
15.03k stars 748 forks source link

feat(schema): Add schema helper for handling Object ids #3058

Closed daffl closed 1 year ago

daffl commented 1 year ago

This pull request adds an ObjectIdSchema helper that allows validating both, strings that will be converted to object ids and existing MongoDB object ids and updates the generator accordingly.

netlify[bot] commented 1 year ago

Deploy Preview for feathers-dove ready!

Name Link
Latest commit 4e9e510b4d519a2294a84713193233a8f0e83c88
Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/63ebedc8df03c7000813d870
Deploy Preview https://deploy-preview-3058--feathers-dove.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.