We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The services injected via BotModule use magic names like 'storage' and 'clock'. These are far too common.
BotModule
'storage'
'clock'
With a small tweak, noice can keep symbols intact end-to-end. TS allows unique symbols as interface member keys, so type safety will remain intact.
mustExist
Will remove two potential issues:
@Inject
The necessary change in noice is: ssube/noicejs@1750df5 Needs to be released before this is merged.
The text was updated successfully, but these errors were encountered:
fix: use symbols for all injected bot svcs (#110)
ba965da
fix: use symbols for injected base svcs (#110)
acce966
fix: make injected svcs optional, assert existence before use (#110)
b73d42a
ssube
No branches or pull requests
Summary
The services injected via
BotModule
use magic names like'storage'
and'clock'
. These are far too common.With a small tweak, noice can keep symbols intact end-to-end. TS allows unique symbols as interface member keys, so type safety will remain intact.
Scope
mustExist
Use Case
Will remove two potential issues:
@Inject
Questions
The necessary change in noice is: ssube/noicejs@1750df5
Needs to be released before this is merged.
The text was updated successfully, but these errors were encountered: