You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the RuntimeRequest constructor in Java a casting of the payload to String is performed directly.
It enforces to send the payload as JSON string instead of sending it regularly.
joeyouss
changed the title
Bug Report: Java 18.0 runtime payload parsing is only possible as string
[ 馃殌 Feature]: Java 18.0 runtime payload parsing is only possible as string
Apr 14, 2023
Thank you for sharing this.
I added the feature label because this issue caters to improved developer experience. With next release, the body will be provided as is.
Relevant PR: #142
In the
RuntimeRequest
constructor in Java a casting of thepayload
to String is performed directly.It enforces to send the payload as JSON string instead of sending it regularly.
For example:
I would expect the
payload
to be sent as follows:I suggest storing it as an
Object
and letting the function developer decide how to parse it.The text was updated successfully, but these errors were encountered: