Closed pratishta closed 14 hours ago
I rebased off main with the Kubb upgrade changes. There are some things I did not have time for:
- More robust testing checking for query params e.g. default vs specified
- Checking for community district ID... I wasn't sure if we wanted to have that function be dependent on checking the borough ID or if they should both be independent. I chose independent in this PR and this affects the repository mock functionality as well. Addressed in description
- Adding the ZodTransform pipe to Addressed in descriptionboroughs.controller.ts
... Adding the the new pipe causes some type errors in the param I couldn't quite figure out
Closes https://github.com/NYCPlanning/ae-zoning-api/issues/247
Several things to note:
borough
and second commit (bda6221615735c7fca1b31d361a4ea7713652697) has it in its own domaincommunity-district
ZodTransformPipe
directly in the pram decorators because adding both param schemas inUsePipes()
was causing errors.