hive-router 0.2.0

GraphQL router for Federation, part of the Hive platform
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(thiserror::Error, Debug, Clone)]
pub enum ProjectionError {
    #[error("Failed to serialize GraphQL Errors: {0}")]
    ErrorsSerializationFailure(String),
    #[error("Failed to serialize GraphQL Extensions: {0}")]
    ExtensionsSerializationFailure(String),
    #[error("Type '{0}' not found in schema")]
    MissingType(String),
    #[error("Field '{field_name}' not found on type '{type_name}' in schema")]
    MissingField {
        field_name: String,
        type_name: String,
    },
}