This is an attempt to make things simpler with a Requestor interface rather than defining dependencies per operation
📝 Summary of Changes
Changes proposed in this pull request:
Delete Dependencies associated type on APIOperation
Add EndpointRequestor and DefaultEndpointRequestor
Add supporting test requestors
Update operations and tests to use new requestors
⚠️ Items of Note
There are some generic casting dances that need to happen to support testing. However the operation code has become cleaner as a result. The requestor can be passed to all operations without needing to create multiple different kinds of dependencies.
🧐🗒 Reviewer Notes
Please provide any thoughts / feedback on this change
This is an attempt to make things simpler with a Requestor interface rather than defining dependencies per operation
📝 Summary of Changes
Changes proposed in this pull request:
APIOperation
⚠️ Items of Note
There are some generic casting dances that need to happen to support testing. However the operation code has become cleaner as a result. The requestor can be passed to all operations without needing to create multiple different kinds of dependencies.
🧐🗒 Reviewer Notes
Please provide any thoughts / feedback on this change