Update base.rs

This commit is contained in:
Sunli 2020-05-06 10:02:25 +08:00
parent 60a2cde9c3
commit 96f19e8498

View File

@ -243,7 +243,7 @@ impl<T: OutputValueType + Sync> OutputValueType for FieldResult<T> {
&self,
ctx: &ContextSelectionSet<'_>,
pos: Pos,
) -> crate::Result<serde_json::Value> where {
) -> crate::Result<serde_json::Value> {
match self {
Ok(value) => Ok(OutputValueType::resolve(value, ctx, pos).await?),
Err(err) => Err(err.clone().into_error_with_path(