Skip to content

Use singleton to show tree table only on HANA#460

Merged
beckermarc merged 2 commits intomainfrom
hide-tree-table-dynamically
Mar 27, 2025
Merged

Use singleton to show tree table only on HANA#460
beckermarc merged 2 commits intomainfrom
hide-tree-table-dynamically

Conversation

@beckermarc
Copy link
Copy Markdown
Contributor

@beckermarc beckermarc commented Mar 26, 2025

Replaces #456 by using a singleton, instead of adding a property to books.

@beckermarc
Copy link
Copy Markdown
Contributor Author

@etimr Can you have a look please. I successfully tested this, now that I avoided the $Not.

@beckermarc beckermarc enabled auto-merge (squash) March 26, 2025 10:58
@beckermarc beckermarc requested a review from mofterdinger March 27, 2025 12:24
cover.setUpId((String) analyzer.analyze(ref).rootKeys().get(Books.ID));
}

@On(event = CqnService.EVENT_READ, entity = Info_.CDS_NAME)
Copy link
Copy Markdown
Member

@mofterdinger mofterdinger Mar 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be shortened to:

Suggested change
@On(event = CqnService.EVENT_READ, entity = Info_.CDS_NAME)
@On(entity = Info_.CDS_NAME)

CdsReadEventContext implies a read event

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, or we remove CdsReadEventContext from the signature, as it is not used.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, also fine with me. I didn't recognize the auto merge, sorry.

@beckermarc beckermarc merged commit ce59073 into main Mar 27, 2025
2 checks passed
@beckermarc beckermarc deleted the hide-tree-table-dynamically branch March 27, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants