Closed jleach closed 1 month ago
Is there a way to inject the agent modules (getAgentModules
from /utils/agent.ts
), which is the one that uses those ledger configs?
If it's possible, even the agent modules would be injectable, allowing us to use a custom did resolver for example.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Summary of Changes
Move the ledgers from config so they are managed and access through dependency injection (di).
Related Issues
n/a
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this);If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓
PR template adapted from the Python attrs project.