Skip to content

Conversation

@viktorsperling
Copy link
Collaborator

@viktorsperling viktorsperling commented Jan 23, 2026

This reverts commit ae4ba2e as getOriginalProperty only calls getProperty for the JSONModel (this is different in other Model implementations, e.g. ODataModel).
Therefore, we decided to deprecate those APIs (getObject & getOriginalProperty) for the JSONModel and should not support it on the TypedJSONModel, too.

@cla-assistant
Copy link

cla-assistant bot commented Jan 23, 2026

CLA assistant check
All committers have signed the CLA.

@viktorsperling viktorsperling changed the title revert(dts-generator): revert add getOriginalProperty declarations and tests to TypedJSONModel (#534) revert(dts-generator): revert add getOriginalProperty declarations and tests to TypedJSONModel Jan 23, 2026
@viktorsperling viktorsperling self-assigned this Jan 23, 2026
@viktorsperling viktorsperling added the types ES modules types (recommended) label Jan 23, 2026
@1110101
Copy link

1110101 commented Jan 26, 2026

LGTM

@codeworrior
Copy link
Member

What is the reason for the revert?

@viktorsperling
Copy link
Collaborator Author

viktorsperling commented Jan 26, 2026

What is the reason for the revert?

We decided to deprecate the getObject & getOriginalProperty APIs as they only delegate to the getProperty API for the JSONModel. Therefore, we should not support it on the TypedJSONModel, too.

@codeworrior codeworrior merged commit 9b90b1b into UI5:main Jan 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

types ES modules types (recommended)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants