Skip to content

Register ProcessResult for GraalVM native-image reflection #1627

Description

@mcruzdev

Context

io.serverlessworkflow.impl.executors.ProcessResult (a record used in impl/core) is not currently registered in the GraalVM native-image reflect-config, unlike other similar model/result classes (e.g. UnifiedOpenAPI in impl/openapi-jackson's reflect-config.json).

Task

Add a reflect-config.json entry for ProcessResult under:

impl/core/src/main/resources/META-INF/native-image/io.serverlessworkflow/serverlessworkflow-impl-core/reflect-config.json

following the same pattern used for other registered classes (queryAll*/allPublic*/allDeclared* flags for constructors, methods, fields, and classes), so that ProcessResult works correctly under native-image builds.

Metadata

Metadata

Assignees

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