[midPoint-git] [Evolveum/prism] 630650: MID-9658: For boolean also generate get form of ge...

Tony Tkáčik noreply at github.com
Mon Apr 29 15:36:17 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/prism
  Commit: 630650d879b81dd72b4d0e2788a4880abecc9f2f
      https://github.com/Evolveum/prism/commit/630650d879b81dd72b4d0e2788a4880abecc9f2f
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M infra/prism-codegen/src/main/java/com/evolveum/prism/codegen/binding/ItemBinding.java
    M infra/prism-codegen/src/main/java/com/evolveum/prism/codegen/impl/StructuredGenerator.java

  Log Message:
  -----------
  MID-9658: For boolean also generate get form of getter

Our code model always used form `is` for nullable boolean getters,
Groovy used to mapp this to properties.
But Groovy 4 does not map nullable `is` getters to to properties consistently anymore.

Fix is to generate also secondary getter for boolean in form `get`
which is consistently mapped to Groovy property.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/prism/settings/notifications


More information about the midPoint-svn mailing list