restify / node-restify

The future of Node.js REST development
http://restify.com
MIT License
10.71k stars 984 forks source link

feat: allow custom alternatives to domains #1944

Closed mmarchini closed 1 year ago

mmarchini commented 1 year ago

domains is deprecated, but there isn't a standard alternative in the ecosystem as of right now. Instead of implementing a bespoke alternative to it, let users create their own alternatives (or use libraries) by providing a generic way to replace domains in the error handling workflow. Note: unless you know what you're doing, you should NOT be using this feature.