Closed dfenerski closed 1 month ago
OpenUI5 version: latest
What is the expected result?
Developer can call public methods.
What happens instead?
The setBindingContext method is public and expects a sap.ui.model.Context instance as parameter, but this class is marked as abstract.
sap.ui.model.Context
The only known subclasses are OData ones, making it impossible to correctly call the method if one works with e.g JSONModel contexts.
JSONModel
In TypeScript setup, this causes an error:
Would a PR removing the abstract tag from Context be accepted if this is indeed the correct solution?
Context
@dfenerski Thanks a lot for this hint. The abstract tag is removed.
OpenUI5 version: latest
What is the expected result?
Developer can call public methods.
What happens instead?
The setBindingContext method is public and expects a
sap.ui.model.Context
instance as parameter, but this class is marked as abstract.The only known subclasses are OData ones, making it impossible to correctly call the method if one works with e.g
JSONModel
contexts.In TypeScript setup, this causes an error:
Would a PR removing the abstract tag from
Context
be accepted if this is indeed the correct solution?