Skip to content

Conversation

dbluhm
Copy link
Member

@dbluhm dbluhm commented Apr 19, 2024

By passing in all dependencies to each method that requires it rather than capturing it in the instance state. This should better support more use cases than the previous structure.

This is a backwards compatible change; the more flexible services are wrapped by the DIDCommMessaging class to behave exactly the same way as before. To use the new, more flexible services, use DIDCommMessagingService class.

By passing in all dependencies to each method that requires it rather
than capturing it in the instance state. This should better support more
use cases than the previous structure.

This is a backwards compatible change; the more flexible services are
wrapped by the `DIDCommMessaging` class to behave exactly the same way
as before. To use the new, more flexible services, use
`DIDCommMessagingService` class.

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@dbluhm dbluhm requested review from TheTechmage and mepeltier April 19, 2024 19:37
Copy link
Contributor

@mepeltier mepeltier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I was involved with the changes so I'll let Colton review before merging

Copy link
Contributor

@TheTechmage TheTechmage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any glaring issues, plus, this works on the Raspberry Pi demo that I gave at IIW as a drop-in update with no changes to my code. LGTM

@TheTechmage TheTechmage merged commit f8ecfd6 into main Apr 22, 2024
@dbluhm dbluhm deleted the refactor/flexible-services branch June 11, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants