Ideas for a Scala 3 MapStruct library?

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • MapStruct

    An annotation processor for generating type-safe bean mappers

  • 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.

  • Chimney

    Scala library for boilerplate-free, type-safe data transformations

  • 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.

  • 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.

    InfluxDB logo
  • Quill

    Compile-time Language Integrated Queries for Scala

  • https://getquill.io/#docs (Look under SCHEMA).

  • dotty

    The Scala 3 compiler, also known as Dotty.

  • Seems the OP(?) got a bug fixed to enable this, for example: https://github.com/lampepfl/dotty/issues/12306

  • chimney

    Scala library for boilerplate-free, type-safe data transformations (by wookievx)

  • 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).

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts