You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 661cf04
Browse filesBrowse the repository at this point in the historyBrowse files
feat(di): make the contract name optional, split out LegacyContract
@contract() declares a token resolved by the class alone. @LegacyContract
({ name }) is the form that also answers to a string name, for callers that
resolve by string and for extensions carrying their own copy of a contract.
@contract({ name }) keeps working as a deprecated overload, since it was
published. Every existing contract keeps its name and moves to
@LegacyContract, with no change in behaviour.
0 commit comments