io.github.graphglue.model.GraphQLNullable.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
/**
* Annotation to mark [NodePropertyDelegate]s in GraphQL as nullable, even if the Kotlin Type is non-nullable.
* Necessary, as authorization may lead to a Node not always being provided if the user has no permission
* to read the node.
*/
@Target(AnnotationTarget.PROPERTY)
@MustBeDocumented
annotation class GraphQLNullable