Skip to content

Commit

Permalink
WIP: comment out the subscriptions not supported error
Browse files Browse the repository at this point in the history
  • Loading branch information
o0Ignition0o committed Jan 25, 2023
1 parent 9e9fae8 commit f5db258
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apollo-router/src/spec/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1193,9 +1193,9 @@ impl Operation {
})
.unwrap_or(OperationKind::Query);

if kind == OperationKind::Subscription {
return Err(SpecError::SubscriptionNotSupported);
}
// if kind == OperationKind::Subscription {
// return Err(SpecError::SubscriptionNotSupported);
// }
let current_field_type = FieldType::Named(schema.root_operation_name(kind).to_owned());

let selection_set = operation
Expand Down

0 comments on commit f5db258

Please sign in to comment.