File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1418,8 +1418,10 @@ async def create(
14181418 ) -> None :
14191419 mutation_query = self ._generate_mutation_query ()
14201420
1421+ # Upserting means we may want to create, meaning payload contains all mandatory fields required for a creation,
1422+ # so hfid is just redondant information. Currently, upsert mutation has performance overhead if `hfid` is filled.
14211423 if allow_upsert :
1422- input_data = self ._generate_input_data (exclude_hfid = False , request_context = request_context )
1424+ input_data = self ._generate_input_data (exclude_hfid = True , request_context = request_context )
14231425 mutation_name = f"{ self ._schema .kind } Upsert"
14241426 tracker = f"mutation-{ str (self ._schema .kind ).lower ()} -upsert"
14251427 else :
You can’t perform that action at this time.
0 commit comments