Skip to content

Commit

Permalink
fix: Use correct serializer on ActionEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Aug 23, 2024
1 parent 07f082d commit 9cf62e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ActionOnFail(val action: ActionGroup) {
@Serializable
value class ActionLoop(val expression: String)

@Serializable
@Serializable(with = ActionEnvironment.Serializer::class)
class ActionEnvironment(val environment: Map<String, Expression<@Contextual Any>>) {
object Serializer : InnerSerializer<Map<String, Expression<@Contextual Any>>, ActionEnvironment>(
serialName = "geary:with",
Expand Down

0 comments on commit 9cf62e4

Please sign in to comment.