pelias / model

Pelias data models
6 stars 17 forks source link

bugfix for https://github.com/pelias/model/pull/135 #142

Closed missinglink closed 3 years ago

missinglink commented 3 years ago

I found a bug introduced in https://github.com/pelias/model/pull/135. The test fixtures in https://github.com/pelias/openstreetmap/pull/554 shouldn't have changed but they did.

It turns out there was a bug in https://github.com/pelias/model/pull/135 which wasn't handling scalar vs. array type names correctly.

This PR resolved the issue.

missinglink commented 3 years ago

tested on https://github.com/pelias/openstreetmap/pull/554, resolves the issue 🎉