Skip to content

Commit

Permalink
Port onGraphQLJSValidationError as on_apollo_rs_validation_error
Browse files Browse the repository at this point in the history
  • Loading branch information
tninesling committed Feb 13, 2025
1 parent 4630c81 commit 903a0a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apollo-federation/src/schema/blueprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ trait SchemaBlueprint {

fn on_validation(_schema: &Schema) -> Option<FederationError>;

fn on_apollo_rs_validation_error(
_error: apollo_compiler::validation::WithErrors<Schema>,
) -> FederationError;

fn on_unknown_directive_validation_error(
_schema: &Schema,
_unknown_directive_name: &str,
Expand Down Expand Up @@ -92,6 +96,12 @@ impl SchemaBlueprint for FederationBlueprint {
todo!()
}

fn on_apollo_rs_validation_error(
_error: apollo_compiler::validation::WithErrors<Schema>,
) -> FederationError {
todo!()
}

fn on_unknown_directive_validation_error(
_schema: &Schema,
_unknown_directive_name: &str,
Expand Down

0 comments on commit 903a0a7

Please sign in to comment.