Registry / utility / magnolia-2-13

magnolia-2-13

JSON →
library0.17.0javamavenunverified

A generic macro-based tool for automatic derivation of typeclass instances in Scala.

<dependency> <groupId>com.propensive</groupId> <artifactId>magnolia_2.13</artifactId> <version>0.17.0</version> </dependency>
INSTALL
IMPORT
SIG · MAGNOLIA-2-13
M
magnolia-2-13
utilityjavav0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Magnolia
magnolia.Magnolia

Derives a typeclass instance for a sealed trait using Magnolia.

import magnolia._ sealed trait MyType case class Foo(x: Int) extends MyType case class Bar(y: String) extends MyType val derived = Magnolia.gen[MyType]
Debug
Known issues
breakingMagnolia 0.17.0 may have breaking changes compared to earlier versions.
fix
Check the migration guide when upgrading from older versions.
affects: 0.17.0
Upgrade
Version history
0.17.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
magnolia-2-13 — mvn dependency:get magnolia-2-13 · libregistry