Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(document): Fix FEEL document serialization #3752

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

sbuettner
Copy link
Contributor

Description

Fix FEEL expression handling for documents

@sbuettner sbuettner added this to the 8.7.0-alpha2 milestone Dec 5, 2024
@sbuettner sbuettner requested a review from johnBgood December 5, 2024 09:49
@sbuettner sbuettner requested a review from a team as a code owner December 5, 2024 09:49
@sbuettner sbuettner requested a review from chillleader December 5, 2024 09:51
@@ -68,6 +68,7 @@ public static PropertyBuilder retryBackoff() {
return StringProperty.builder()
.id("retryBackoff")
.label("Retry backoff")
.feel(FeelMode.disabled)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we generate ETs again in this PR so that all the changes are grouped together?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnBgood I would do this in a separate PR.

import org.camunda.feel.syntaxtree.Val;
import org.camunda.feel.valuemapper.JavaCustomValueMapper;

public class CustomValueMapper extends JavaCustomValueMapper {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a simple test to highlight the issue and double-check that it's fixed (for the future mostly)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I can include it in my Box Connector PR as we need to get this going

Copy link
Collaborator

@johnBgood johnBgood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions, nothing blocking. Thank you!

@sbuettner sbuettner enabled auto-merge December 5, 2024 09:58
@sbuettner sbuettner force-pushed the fix-document-handling-feel branch from 7903640 to 3f16f44 Compare December 5, 2024 09:58
@sbuettner sbuettner added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 692624e Dec 5, 2024
11 checks passed
@sbuettner sbuettner deleted the fix-document-handling-feel branch December 5, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants