Open ByteAlex opened 4 years ago
Can you give us some example to understand and then prioritize?
Sure, sorry I thought it would be clear by the name :P
Connect-module initializes a lot of objects still with the "new" keyword as of this example:
new RSocketGlobalRouterServer(routerServerAddress, BucketGlobalRateLimiter.create(), Schedulers.parallel(), RequestQueueFactory.buffering())
D4J's paradigm was to use builders whereever possible, so I opened a ticket to review the connect module and add builders where possible.
For consistency between Discord4J and connect package, the components should be constructed with builders aswell.