Skip to content

hilla: add example usage of EndpointExposed#4251

Merged
cromoteca merged 3 commits into
latestfrom
4202/Add-documentation-an-example-of-using-`EndpointExposed`-in-docs
May 16, 2025
Merged

hilla: add example usage of EndpointExposed#4251
cromoteca merged 3 commits into
latestfrom
4202/Add-documentation-an-example-of-using-`EndpointExposed`-in-docs

Conversation

@cromoteca
Copy link
Copy Markdown
Contributor

Include an example demonstrating how to use the @EndpointExposed annotation to control method exposure from superclasses in endpoint classes.

Closes #4202

Copy link
Copy Markdown
Contributor

@taefi taefi left a comment

Choose a reason for hiding this comment

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

LGTM!

@github-actions
Copy link
Copy Markdown

AI Language Review

For the updated Endpoints documentation, one primary issue requires attention:

  1. New Section on Extending Other Classes:
    • The example provided for Extending Other Classes includes a code snippet demonstrating the use of @EndpointExposed. The explanation of how inherited methods are handled could benefit from a brief note to clarify the purpose of @EndpointExposed and why inherited methods from non-annotated superclasses aren't exposed by default. This clarification would improve comprehension for readers unfamiliar with the concept.

@cromoteca cromoteca merged commit 9fe6464 into latest May 16, 2025
4 of 5 checks passed
@cromoteca cromoteca deleted the 4202/Add-documentation-an-example-of-using-`EndpointExposed`-in-docs branch May 16, 2025 06:23
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.

Add documentation / an example of using @EndpointExposed in docs

4 participants