Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

(Better) support for Java records in Native Types #1060

Copy link
Copy link

Description

@dteleguin
Issue body actions

I was experimenting with Native Types (kudos again!) and Java records. Reading records from CEL works just fine, but I have discovered a couple of issues with inline record instantiation (e.g. Foo{bar: 'baz'}):

  • no-arg constructor is required, which is normally not used with records;
  • records are using prefix-less setters which CEL does not (yet) recognize. Just in case, this convention is not uncommon in the "traditional" (non-record) value classes; see JsonWebToken in Keycloak.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.