NYCPlanning / ae-zoning-api

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

use spread operator to share bbls #175

Closed TangoYankee closed 7 months ago

TangoYankee commented 7 months ago

@pratishta

I'm opening a draft PR against your PR merely to share the code. I don't necessarily think we should merge it. These are mostly to solve brain bugs; though the solutions may come in handy later

1) When trying make the mocks share bbls, stringMap may not override the bbls but a spread operator will 2) We can make the initial array generation more generalized to support different length arrays, with each element having its own data.