feathersjs / feathers

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

docs: validation for custom methods #3376

Closed AshotN closed 1 month ago

AshotN commented 6 months ago

Summary

This PR expands the documentation on custom methods. Mainly an example on how to use validators with custom methods.

daffl commented 6 months ago

Thank you! I think we should move this to the validators documentation at https://feathersjs.com/api/schema/validators.html but then we can merge.

marshallswain commented 1 month ago

Thanks @AshotN for enabling PR branch editing. I've pushed up the change that @daffl requested, so this should be ready to merge.