Skip to content

hilla: add example usage of EndpointExposed #4251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

cromoteca
Copy link
Member

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

Closes #4202

Copy link
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!

Copy link

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