Skip to content

Support for Java interfaces in Native Types #1061

Description

@dteleguin

In complex web-facing software, interfaces are very commonly used to model different kinds of context objects (examples from Keycloak: OAuth2GrantType.Context, TokenExchangeContext). These objects would perfectly complement any CEL policy being part of request processing. Unfortunately, adding such an object as a variable won't work with Native Extensions, because only List and Map subinterfaces are currently supported.

Would be really nice for CEL to support Java interfaces in a native manner.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions