SRvSaha / CoWinVaccineSlotFinder

Cross-Platform Software to Fetch the Available Slots & Book the Appointment for COVID-19 Vaccination
https://shawt.io/r/sYv
MIT License
81 stars 32 forks source link

Allow Any Vaccine Type and Any Fee Type for Booking Slots for Appointment #14

Closed SRvSaha closed 3 years ago

SRvSaha commented 3 years ago

As of now, we don't have the option to allow for any Vaccine Type. Either COVISHIELD or COVAXIN is to be provided by User along with the VaccineFeeType as Free or Paid.

However, due to surge in demand of Vaccine, users might not be bothered about the Vaccine Type or the Fee as the main thing for them would be to get the vaccine first.

Therefore, filter on VaccineType and VaccineFeeTypeshould not be made mandatory. It should be optional and it should be upto the user whether the user wants any specific type of vaccine and with specific fee type.

So, in case user provides blank for the field VaccineType and VaccineFeeType in appsettings.json, then VaccineType would be made optional. Similarly is VaccineFeeType is kept blank, feeType of vaccine would be treated as optional for searching of slots.

Example:

Optional Scenario

"VaccineType" :  "",
"VaccineFeeType" :  ""

Specific Filter on Vaccine Type / VaccineFeeType

    "VaccineType" :  "COVISHIELD",
    "VaccineFeeType" :  "Free"
SRvSaha commented 3 years ago

Changes done and integrated with e503dbc45d2ecdc214c9678785525ab461f69e6d

@PSuyog97 Please review the changes. I'll be pushed to Production in the Next Release

SRvSaha commented 3 years ago

Changes integrated in Latest Version with Release v3.0.0 and deployed, hence closing the Issue