-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is possible to register a preference schema to the `PreferenceSchemaProvider` after the initial inversify binding phase. This is problematic when wanting to do that late schema registration and at the same time trying to bind a preference proxy because proxies must be bound early on. This commit fixes the issue by allowing `createPreferenceProxy` to process a promise for its `schema` parameter (now `promisedSchema`) and still return a proxy synchronously. Until the promise resolves, most operations on the proxy will be no-ops. Signed-off-by: Paul Maréchal <paul.marechal@ericsson.com>
- Loading branch information
1 parent
159f175
commit b9344a9
Showing
2 changed files
with
262 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.