Repository navigation
Commit 4608bfa
committed
Document that extensions should be stateless
The "Registering Extensions" page did not mention how often an extension is
instantiated or that a single instance is typically reused across tests. Add a
short section clarifying that no assumptions should be made about extension
instantiation, that extensions should be stateless, and that state should be
kept in the ExtensionContext.Store, linking to "Keeping State in Extensions".1 parent 9cd9a3c commit 4608bfa
1 file changed
Lines changed: 10 additions & 0 deletions
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
0 commit comments