File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -832,23 +832,12 @@ fn fetch<S: Store>(
832
832
store : & S ,
833
833
parents : & Vec < Node > ,
834
834
join : & Join < ' _ > ,
835
- mut arguments : HashMap < & q:: Name , q:: Value > ,
835
+ arguments : HashMap < & q:: Name , q:: Value > ,
836
836
multiplicity : ChildMultiplicity ,
837
837
types_for_interface : & BTreeMap < s:: Name , Vec < s:: ObjectType > > ,
838
838
block : BlockNumber ,
839
839
max_first : u32 ,
840
840
) -> Result < Vec < Node > , QueryExecutionError > {
841
- if multiplicity == ChildMultiplicity :: Single {
842
- // For non-list fields, get up to 2 entries so we can spot
843
- // ambiguous references that should only have one entry
844
- arguments. insert ( & * ARG_FIRST , q:: Value :: Int ( 2 . into ( ) ) ) ;
845
- }
846
-
847
- if !arguments. contains_key ( & * ARG_SKIP ) {
848
- // Use the default in build_range
849
- arguments. insert ( & * ARG_SKIP , q:: Value :: Null ) ;
850
- }
851
-
852
841
let mut query = build_query (
853
842
join. child_type ,
854
843
block,
You can’t perform that action at this time.
0 commit comments