-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Phillip Kruger <phillip.kruger@gmail.com>
- Loading branch information
1 parent
2723368
commit c33b896
Showing
4 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...oyment/src/main/java/io/quarkus/smallrye/graphql/deployment/GraphQLDevUILogBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.quarkus.smallrye.graphql.deployment; | ||
|
||
import java.util.concurrent.SubmissionPublisher; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
import io.quarkus.runtime.RuntimeValue; | ||
|
||
/** | ||
* Used to create the publisher for the graphql trafic log in dev ui | ||
*/ | ||
public final class GraphQLDevUILogBuildItem extends SimpleBuildItem { | ||
private final RuntimeValue<SubmissionPublisher<String>> publisher; | ||
|
||
public GraphQLDevUILogBuildItem(RuntimeValue<SubmissionPublisher<String>> publisher) { | ||
this.publisher = publisher; | ||
} | ||
|
||
public RuntimeValue<SubmissionPublisher<String>> getPublisher() { | ||
return this.publisher; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters