Skip to content

[4.0.0] ProduceEvent.getData returns String rather than Object #558

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
fjtirado opened this issue Apr 25, 2025 · 0 comments · Fixed by #559
Closed

[4.0.0] ProduceEvent.getData returns String rather than Object #558

fjtirado opened this issue Apr 25, 2025 · 0 comments · Fixed by #559
Assignees

Comments

@fjtirado
Copy link
Collaborator

What happened:
The serverless workflow specification (version 0.8) specified that ProducedEvent.data should be an string or object, but the generated POJO returns string

What you expected to happen:
That the generated POJO returns Object

How to reproduce it:

Anything else we need to know?:

Environment:

  • Specification version used:
@fjtirado fjtirado self-assigned this Apr 25, 2025
fjtirado added a commit to fjtirado/sdk-java that referenced this issue Apr 25, 2025
fjtirado added a commit to fjtirado/sdk-java that referenced this issue Apr 25, 2025
…t only a string

Signed-off-by: fjtirado <ftirados@redhat.com>
fjtirado added a commit that referenced this issue Apr 25, 2025
[Fix #558] ProduceEvent.data shoud be an object, not only a string
fjtirado added a commit to fjtirado/sdk-java that referenced this issue Apr 25, 2025
fjtirado added a commit to fjtirado/sdk-java that referenced this issue Apr 25, 2025
Signed-off-by: fjtirado <ftirados@redhat.com>
ricardozanini pushed a commit that referenced this issue Apr 25, 2025
Signed-off-by: fjtirado <ftirados@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants