NYCPlanning / ae-zoning-api

This application is API for serving data related to zoning and tax lots.
1 stars 0 forks source link

Implement find capital projects by community district endpoint #327

Closed pratishta closed 14 hours ago

pratishta commented 2 weeks ago

Closes https://github.com/NYCPlanning/ae-zoning-api/issues/247

Several things to note:

pratishta commented 2 weeks 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 boroughs.controller.ts... Adding the the new pipe causes some type errors in the param I couldn't quite figure out Addressed in description