openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.ui.model.json.JSONModel parameters should be indicated as optional in JSDoc

Open theREALdebater opened this issue 7 years ago • 2 comments

OpenUI5 version: 1.66.0 (latest as of 24/05/2019)

Class: sap.ui.model.json.JSONModel

Relevant code in GitHub

The constructor parameters oData and bObserve are both optional, but not marked as such.

Would anyone disagree to me opening a pull request to fix this?

theREALdebater avatar May 24 '19 12:05 theREALdebater

Hi, Thank you for sharing this finding. I've created an internal incident: 1970225873. The status of the issue will be updated here in GitHub.

JumpNRun avatar Jun 07 '19 08:06 JumpNRun

Thanks for reporting the issue. The documentation should be updated in the next UI5 Version.

svbender avatar Jun 19 '19 12:06 svbender