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
#[derive(Debug, thiserror::Error)]
pub enum MinificationError {
    #[error("Type not found: {0}")]
    TypeNotFound(String),
    #[error("Type not found for operation kind: {0}")]
    TypeForOperationNotFound(String),
    #[error("Field '{0}' not found in type '{1}'")]
    FieldNotFound(String, String),
    #[error("Unsupported fragment spread")]
    UnsupportedFragmentSpread,
    #[error("Unsupported field in `_entities`: {0}.{1}")]
    UnsupportedFieldInEntities(String, String),
}