Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Enrichment of nullable fields is broken after https://github.com/bkbnio/kompendium/pull/566 #659

@zakmilda

Description

@zakmilda

Describe the bug
When applying an enrichment to a nullable field kompendium throws an exception

Exception in thread "main" java.lang.IllegalStateException: Incorrect enrichment type for enrichment id: thingA

To Reproduce
Steps to reproduce the behavior:

  1. Change String to String? in
  2. Try to run the EnrichmentPlayground
  3. You receive an error Exception in thread "main" java.lang.IllegalStateException: Incorrect enrichment type for enrichment id: thingA

Expected behavior
Nullable fields should be correctly handled

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions