simon.vergauwen
12/16/2021, 1:43 PMbuild.gradle.kts
. If you try it, and come across anything broken please let us know 🙂
https://github.com/arrow-kt/backend-arrow-example/blob/86e3bf459a8eda06cd41a17105f807202698cea4/build.gradle.kts#L38Norbi
12/16/2021, 9:39 PMsimon.vergauwen
12/16/2021, 10:06 PMsimon.vergauwen
12/20/2021, 9:30 AMthan_
12/20/2021, 9:33 AM@Serializable
@optics([OpticsTarget.DSL, OpticsTarget.OPTIONAL, OpticsTarget.LENS])
data class OrderReqAdmin(
val id: Long,
val packageOrder: PackageOrderReqAdmin? = null,
val reservation: ReservationReqAdmin? = null,
val upsales: List<UpsaleReqAdmin>,
val name: String,
val email: String?,
val phone: String?,
val currency: Currency,
val notes: Map<NoteType, String>,
val price: Double,
val deposit: Double,
val cancellation: OrderCancellationReq?,
val status: OrderStatus,
val paymentMethod: PaymentMethod,
val paymentMethodDeposit: PaymentMethod,
val cost: Double,
val agencyId: Long,
val isPaidDeposit: Boolean,
val isPaidRest: Boolean,
val overrideInvoicePublisher: InvoicePublisher?,
val overrideVatRate: VatRateOverride?,
val bons: List<Bon>,
val language: Language,
val voucherId: String?,
) {
companion object
}
This fails for me. I'm gonna double check the configuration. Since it should work, it's probably just some misconfig somewhere.simon.vergauwen
12/20/2021, 9:37 AMIso
restriction but you disabled that target.
Let me double check in the code @than_than_
12/20/2021, 9:43 AM