Skip to content

Commit

Permalink
Move opt-in to file level.
Browse files Browse the repository at this point in the history
  • Loading branch information
christiandeange committed Mar 18, 2024
1 parent 9a62f3d commit 86d8dcb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:OptIn(ExperimentalSerializationApi::class)

package sh.christian.ozone.api.model

import kotlinx.serialization.EncodeDefault
Expand All @@ -16,7 +18,6 @@ import sh.christian.ozone.api.runtime.BlobSerializer
@Serializable(with = BlobSerializer::class)
sealed interface Blob {

@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class StandardBlob(
@ByteString val ref: BlobRef,
Expand Down

0 comments on commit 86d8dcb

Please sign in to comment.