/claim #471

Description

This PR addresses Issue #471 by implementing a standardized migration to zio.schema.TypeId. Instead of adding a new custom module, this solution leverages the existing zio-schema standard, ensuring better ecosystem alignment and reducing future maintenance burden.

Key Changes

  • Core Refactoring: Replaced the custom TypeName system with zio.schema.TypeId across the Reflect trait and its implementations.
  • Macro Modernization: Updated Scala 3 macros in SchemaVersionSpecific to generate TypeId.Nominal directly.
  • Best-Effort Encoding: Implemented a robust encoding for type parameters within the TypeId name string (e.g., Option[Int]) to maintain compatibility with the ZIO Schema 1.7.5 API.
  • Test Suite Alignment: Refactored all existing tests (SchemaSpec, ReflectSpec, etc.) to match the standardized TypeId format and added JSON normalization to ensure stability.

Verification

  • Compilation: Successful on Scala 3.
  • Tests: All 654 tests passed (sbt schemaJVM/test).

Demo Video

Video demo uploading, will update in 5 minutes”.

Claim

Total prize pool $3,000
Total paid $0
Status Pending
Submitted December 19, 2025
Last updated December 19, 2025

Contributors

KL

KLAYD

@Klajdiz9

100%

Sponsors

ZI

ZIO

@ZIO

$3,000