Update base.rs
This commit is contained in:
parent
60a2cde9c3
commit
96f19e8498
@ -243,7 +243,7 @@ impl<T: OutputValueType + Sync> OutputValueType for FieldResult<T> {
|
|||||||
&self,
|
&self,
|
||||||
ctx: &ContextSelectionSet<'_>,
|
ctx: &ContextSelectionSet<'_>,
|
||||||
pos: Pos,
|
pos: Pos,
|
||||||
) -> crate::Result<serde_json::Value> where {
|
) -> crate::Result<serde_json::Value> {
|
||||||
match self {
|
match self {
|
||||||
Ok(value) => Ok(OutputValueType::resolve(value, ctx, pos).await?),
|
Ok(value) => Ok(OutputValueType::resolve(value, ctx, pos).await?),
|
||||||
Err(err) => Err(err.clone().into_error_with_path(
|
Err(err) => Err(err.clone().into_error_with_path(
|
||||||
|
Loading…
Reference in New Issue
Block a user