Skip to content

Conversation

@joshua-roberts
Copy link
Member

This PR changes the Args implementation for AdminFunctions (operations and routines). Instead of an AdminFunction defining the return type and args type as generics, it will only define the return type. Args has been made a concrete class wrapper for a Map<FormalParameter, Object>. It is up to the AdminFunction implementation to define and document the expected parameters and the caller to match the expected parameters.

This was done to avoid the situation of having an AdminFunction object with wildcard and not being able to directly call it's methods without the concrete corresponding Args class.

…object for both defined functions and custom ones.

ignore plugin ops and routines in ispolicyempty (#209)
@joshua-roberts joshua-roberts changed the title refactor AdminFunction Args. refactor AdminFunction Args Nov 13, 2025
@joshua-roberts joshua-roberts merged commit c6a071b into master Nov 13, 2025
1 check passed
@joshua-roberts joshua-roberts deleted the fix-args-2 branch November 13, 2025 13:11
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