diff --git a/inngest/src/main/kotlin/com/inngest/State.kt b/inngest/src/main/kotlin/com/inngest/State.kt index 0c640b6..a990728 100644 --- a/inngest/src/main/kotlin/com/inngest/State.kt +++ b/inngest/src/main/kotlin/com/inngest/State.kt @@ -72,7 +72,10 @@ class State( return null } - private fun deserializeStepData(serializedStepData: JsonNode?, type: Class): T? { + private fun deserializeStepData( + serializedStepData: JsonNode?, + type: Class, + ): T? { val mapper = ObjectMapper() if (serializedStepData == null || !serializedStepData.isObject || !serializedStepData.has("class")) { // null and primitives can be deserialized directly