Skip to content

Commit

Permalink
Remove the comment because the name is no longer Option
Browse files Browse the repository at this point in the history
  • Loading branch information
garypen committed Jan 23, 2025
1 parent f08f21d commit 339c502
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apollo-router/src/services/subgraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ pub struct Request {

pub context: Context,

// FIXME for router 2.x
/// Name of the subgraph, it's an Option to not introduce breaking change
/// Name of the subgraph
pub(crate) subgraph_name: String,
/// Channel to send the subscription stream to listen on events coming from subgraph in a task
pub(crate) subscription_stream: Option<mpsc::Sender<BoxGqlStream>>,
Expand Down Expand Up @@ -208,8 +207,7 @@ assert_impl_all!(Response: Send);
#[non_exhaustive]
pub struct Response {
pub response: http::Response<graphql::Response>,
// FIXME for router 2.x
/// Name of the subgraph, it's an Option to not introduce breaking change
/// Name of the subgraph
pub(crate) subgraph_name: String,
pub context: Context,
/// unique id matching the corresponding field in the request
Expand Down

0 comments on commit 339c502

Please sign in to comment.