Skip to content

Commit

Permalink
Add GraphQL setter to GraphqlServiceBuilder (#5269)
Browse files Browse the repository at this point in the history
Motivation:
A user might want to set `GraphQL` directly to the `GraphqlServiceBuilder` which could be shared
between Expedia `GraphQLRequestHandler` and Armeria's `GraphqlService`.

Modification:
- Add the setter method for `GraphQL`.

Result:
- You can now set `GraphQL` to the `GraphqlServiceBuilder`.
  • Loading branch information
minwoox authored Jun 3, 2024
1 parent 2112f50 commit 7f2aa00
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@

/**
* Interface used to configure the {@link GraphQL}.
*
* @deprecated Use {@link GraphQL.Builder} directly.
*/
@UnstableApi
@FunctionalInterface
@Deprecated
public interface GraphqlConfigurator {

/**
Expand Down
Loading

0 comments on commit 7f2aa00

Please sign in to comment.