org.babyfish.jimmer.spring.graphql.KDataFetchingEnvironments.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-spring-boot-starter Show documentation
Show all versions of jimmer-spring-boot-starter Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.spring.graphql
import graphql.schema.DataFetchingEnvironment
import org.babyfish.jimmer.sql.fetcher.Fetcher
inline fun DataFetchingEnvironment.toFetcher(): Fetcher =
DataFetchingEnvironments.createFetcher(
E::class.java,
this
)