Skip to content

Commit

Permalink
Serialization issue fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamirDenis-Tudor committed Jan 2, 2025
1 parent 69c8f73 commit 368924f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
implementation("io.ktor:ktor-server-core-jvm:$ktorVersion")

//serializing
api("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxVersion")

// rabbitmq
api("com.rabbitmq:amqp-client:$rabbitmqVersion")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import io.github.damir.denis.tudor.ktor.server.rabbitmq.delegator.Delegator.Comp
import io.github.damir.denis.tudor.ktor.server.rabbitmq.dsl.KabbitMQDslMarker
import com.rabbitmq.client.AMQP.BasicProperties
import com.rabbitmq.client.Channel
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json


@Serializable
@KabbitMQDslMarker
class KabbitMQBasicPublishBuilder(
private val channel: Channel,
Expand Down

0 comments on commit 368924f

Please sign in to comment.