BHoM / BHoM/HTTP_Toolkit

BatchRequest not working as expected

Aperta
#72 0 commenti 0 reazioni 1 assegnatario Rivendicata da @rolyhudson Vedi su GitHub
type:bug
Lingua principale
C#
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### Description:
Pull with BatchRequest fails:
![image](https://user-images.githubusercontent.com/6618854/134374166-6aea8efe-7d97-4987-ac9a-e3eacc4be0f9.png)

#### Steps to reproduce:
[Try the script here](https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/HTTP_Toolkit/%2372BatchRequest.gh?csf=1&web=1&e=yXnvG5)
I think this line https://github.com/BHoM/HTTP_Toolkit/blob/6f94727e931ee93c3b55f4c4d983bb9cae9273db/HTTP_Adapter/AdapterActions/Pull.cs#L70
Should have `ActionConfig` as the input parameter not HTTPConfig.
Otherwise the Pull method drops through to the fallback method

**Edit:**
I did a quick test to make the change as described above. Pull with a BatchRequest just hangs...
Maybe the concurrent set up is not quite right for the method?

#### Expected behaviour:

#### Test file(s):

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.