Frank Weigel
Frank Weigel
Hi @flovogt, there's already DINC0053067 for the same issue. Shall we close DINC0053713 as a duplicate?
The error message `The type 'xyz' was accessed via global. Defining enums via globals is deprecated. Please require the module 'sap/ui/base/DataType' and call the static 'DataType.registerEnum'` is unfortunately quite misleading....
@petermuessig would you then suggest to deprecate the Component hooks, rather than switching the implementation? I tried to understand how compatible the `pagehide` and the `unload` events are, but didn't...
These are wrong usages of the `@example` tag. `@example` in JSDoc is a so called block tag which means, when it appears, it automatically ends the previous block tag (here:...
Thanks for bringing this up! This is kind of a documentation issue. As you might know, we slowly transition from global names as APIs to import-based APIs (using `sap.ui.define`/AMD in...
Our thinking goes into the same direction. Either we introduce a marker method on Controller.prototype, something like ``` myExtension = this.registerExtension(MyExtensionClass) ``` that makes the `babel-plugin-transform-modules-ui5` move the field into...
I assume that "locally built" means built with the `ui5 cli` alone? There's indeed a difference between the library-preload.js.map when it's built locally (with `ui5 cli` on openui5/src/sap.ui.core) compared to...
Small corrections to avoid misunderstandings: * [`sap.ui.getCore().getConfiguration().getLanguage()`](https://ui5.sap.com/#/api/sap.ui.core.Configuration%23methods/sap.ui.core.Configuration.getLanguage) needs to be replaced with [`import("sap/base/i18n/Localization").getLanguage`](https://ui5.sap.com/#/api/module:sap/base/i18n/Localization%23methods/sap/base/i18n/Localization.getLanguage) * [sap/base/util/UriParameters.fromQuery(...)](https://ui5.sap.com/#/api/module:sap/base/util/UriParameters%23methods/sap/base/util/UriParameters.fromQuery) needs to be replaced with the native [new URLSearchParams(...)](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
I think this is a big misunderstanding. For sure, ESLint is the 1st choice for linting JavaScript / TypeScript and its other derivates. The UI5 linter doesn't want to replace...
Can you please share at least a few lines of code around the `getSecurityToken` call? I doubt that the call by itself is the issue. The linter's capability to detect...