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 Oct 12, 2024
1 parent e533f5c commit 2db7f39
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 2db7f39

Please sign in to comment.