-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Having a subscription in the schema generates a Subscription class with methods that have the wrong return type. Subscriptions have to return org.reactivestreams.Publisher<T>.
Given schema:
schema {
subscription: Subscription
}
type Subscription {
projectsSub: Project!
}
type Project {
id: String!
name: String!
}Generated class:
public interface ProjectsSubSubscription {
@javax.validation.constraints.NotNull
Project projectsSub() throws Exception;
}Expected:
public interface ProjectsSubSubscription {
@javax.validation.constraints.NotNull
org.reactivestreams.Publisher<Project> projectsSub() throws Exception;
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request