microsoft / microsoft/tsyringe

reset and replace token

Open
#96 0 comments 14 reactions 1 assignee View on GitHub

@Xapphire13 is already working on this.

Since Feb 22, 2020.

awaiting triage enhancement
Dominant language
TypeScript
Stars
6k
Forks
184
Avg merge
3m
Merged PRs (30d)
1

Description

as suggested in #28 adding a reset(Token) and perhaps replace(Token, { ... } might be useful, I would like this or something similar, also see #95 for an example of my problem

Actually, I think a better api would be unregisterAll(Token) instead of reset(...) I think making reset() unregisterAll() would also fix #82

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.