-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I have below classes. I want to create fixtures without lateinit var field , how can I achieve this?
Thank you for your awesome project
@Table("post")
data class Post(
@Id override val id: ID,
val title: String,
val content: String,
@Relation(User::class) val userId: ID,
) : Node {
@Autowired lateinit var userRepository: UserRepository
fun author(env: DataFetchingEnvironment): CompletableFuture<User> {
return userRepository.findById(userId, env)
}
}michael-arndt-gcx
Metadata
Metadata
Assignees
Labels
No labels