-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Labels
priority: lowNice-to-have; can waitNice-to-have; can waitstatus: help wantedrequesting help from the communityrequesting help from the communitytype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap
Description
As a followup to #430, while using global setup such as Twilio.init is ordinary practice in some languages, it is contrary to Java standard practices and substantially interferes in standard Java application architectures.
For version 9 development, your customers would be much better served by following the standard layout of a service interface TwilioApi and a class Twilio implements TwilioApi; this would not impose any more significant burden on consumers (just new Twilio(username, password) instead of Twilio.init(username, password)) but would dramatically enhance testability and some production use cases such as multitenant implementations.
rocketraman, btjfsu, aSemy, nickstolwijk, rob-pomelo and 11 more
Metadata
Metadata
Assignees
Labels
priority: lowNice-to-have; can waitNice-to-have; can waitstatus: help wantedrequesting help from the communityrequesting help from the communitytype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap