-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Seeing as how each instance of Presto should relate to a single request (and eventually spawn a single response) I've been finding it hard to use proper DI with the current structure. I'd like to build a client to handle the configuration and setup of individual requests on a per-method basis, which means I either need to construct Presto internally or have it passed into the method. If I could pass in an instantiated factory with some base configuration, than each method could pull a pre-configured Presto object from it, do additional configuration, and then make a request from that. Not quite DI, as there'd be new classes spawned within methods, but it would help with the flow quite a bit.
Metadata
Metadata
Assignees
Labels
No labels