io.github.graphglue.model.AdditionalOrder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphglue-core Show documentation
Show all versions of graphglue-core Show documentation
A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies
The newest version!
package io.github.graphglue.model
import io.github.graphglue.connection.order.OrderPart
import java.lang.annotation.Inherited
/**
* Annotation to define an additional order property for a specific [Node] (and all subclasses)
* The filter is implemented by a bean with the defined name of type [OrderPart]
*
* @param beanName the name of the bean defining the order, must be of type [OrderPart]
*/
@Repeatable
@Target(AnnotationTarget.CLASS)
@MustBeDocumented
@Inherited
@Retention(AnnotationRetention.RUNTIME)
annotation class AdditionalOrder(val beanName: String)