Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
When building REST services, mapping Entity Models (EM) to Data Transfer Objects (DTOs) has been an annoying problem in Java. Libs like MapStruct exist for this, but it still feels like an hack.
Hi! Are you aware of https://github.com/scalalandio/chimney? I think that's what you are trying to do. Sorry if I misunderstand your message.
https://getquill.io/#docs (Look under SCHEMA).
Seems the OP(?) got a bug fixed to enable this, for example: https://github.com/lampepfl/dotty/issues/12306
Well I managed to workaround bugs I encountered, here is the current version: https://github.com/wookievx/chimney/tree/chimney3 I am not aiming at full feature parity (I have already added some functionality to patchers I deemed useful and easy to implement, while not bothering for now to handle java beans, which would require diving deep into tasty reflection). I am not sure what to do about value classes, given opaque types are a thing. I am currently in process of migrating tests (patcher dsl and transformer dsl have somewhat extensive tests).