generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Detect partially deprecated APIs (#286)
Detect a set of prominent partially-deprecated API (e.g. deprecation of a single parameter of a method signature): * sap/ui/core/theming/Parameters.get * sap/ui/core/Component.createComponent (async flag is currently not described as deprecated, but is likely to be done soon) * sap/ui/core/routing/Router (async flag) * sap/ui/model/json/JSONModel#loadData * sap/ui/model/odata/v4/ODataModel constructor * sap/ui/model/odata/v2/ODataModel#createEntry * sap/ui/util/Mobile.init Generic detection would be better, ideally expressed through the generation of the respective TypeScript type definitions. However, that would first require changes in the UI5 JSDoc plugin in order to allow developers to properly express deprecated parameters. Discussions on this are ongoing. For the time being this is a simple solution to detect widely used deprecated parameters. JIRA: CPOUI5FOUNDATION-788 --------- Co-authored-by: Matthias Osswald <mat.osswald@sap.com>
- Loading branch information
1 parent
95872dc
commit dc66f91
Showing
7 changed files
with
493 additions
and
65 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.