Bad url parsing with "qs" library update to 6.10.3
Opened this issue · 0 comments
qiqetes commented
When you pass as parameters i.e.:
[
'tr',
{
filter: {
room: 0,
},
include: [
'training_class',
'virtual_training',
'virtual_training_schedule',
'virtual_training_schedule.trainer',
],
limit: 40}]
resulting ulr: tr?include[0]=training_class&include[1]=virtual_training&include[2]=virtual_training_schedule&include[3]=virtual_training_schedule.trainer&limit=40
When usually it would be: virtual_training_rooms?filter%5Broom%5D=0&include=training_class%2Cvirtual_training%2Cvirtual_training_schedule%2Cvirtual_training_schedule.trainer&limit=40
Solution:
Add "qs": "6.10.1" as dependency