All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.extensions.Currency.kt Maven / Gradle / Ivy

The newest version!
// https://youtrack.jetbrains.com/issue/KT-12495
@file:JvmName("Currency@graph")

package io.fluidsonic.raptor

import io.fluidsonic.currency.*


public fun Currency.Companion.graphDefinition(): RaptorGraphDefinition = graphScalarDefinition {
	parseString { forCodeOrNull(it) ?: invalid() }
	serialize(Currency::code)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy