Skip to content

revert(dts-generator): revert add getOriginalProperty declarations and tests to TypedJSONModel - #537

Merged
codeworrior merged 1 commit into
UI5:mainfrom
PeterBuchholz:main
Jan 26, 2026
Merged

codeworrior merged 1 commit into
UI5:mainfrom
PeterBuchholz:main

Conversation

@viktorsperling

@viktorsperling viktorsperling commented Jan 23, 2026 •

Copy link
Copy Markdown
Collaborator

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

cla-assistant Bot commented Jan 23, 2026 •

Copy link
Copy Markdown

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

1110101 commented Jan 26, 2026

Copy link
Copy Markdown

LGTM

@codeworrior

Copy link
Copy Markdown
Member

What is the reason for the revert?

@viktorsperling

viktorsperling commented Jan 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

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