feathersjs / feathers

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

fix(typebox): Allow default value in StringEnum #3281

Closed AshotN closed 9 months ago

AshotN commented 9 months ago

Summary

Closes https://github.com/feathersjs/feathers/issues/3280

Other Information

This is a PR that expands StringEnum to accept a default value. I would prefer to expand the type to allow for all of the TSchema properties. But I was not able to figure out the types for it.

Would appreciate some assistance completing the types if possible