Commit 4d896a5
committed
[Core] Use OpenAssetIO context from manager
The Context instance is passed into every API method. The Context may
bundle arbitrary state from the manager. In order for the Context to be
created with the appropriate state by the manager, the host is required
to construct a Context object using the `Manager.createContext()`
method. However, we were not doing that and instead constructed the
Context directly, which should never be done (other than for trivial
cases e.g. unit tests).
Signed-off-by: David Feltell <david.feltell@foundry.com>1 parent 612b50e commit 4d896a5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments