Closed htwais closed 1 year ago
@htwais Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
google-maps
tagThis is an automated message, feel free to ignore.
This basically broke our production. Can we please prioritize fix?
Any updates on this?
Is there any ETA on when this will be fixed? There are many place_ids (e.g. ChIJZ8MeRRouTI8REZAMtusUH3I, ChIJs_C9pI7rt4kRyaoLRgpt2Hs, ChIJp10yB9gJx0cRDMqmn-czMF4, ...) where this fails which renders this version of the API useless. Is there a workaround other than reverting the version?
:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
in v1.4.0 it fails with json: cannot unmarshal array into Go struct field PlaceDetailsResult.result.secondary_opening_hours of type maps.OpeningHours
commit d757700d4eb9a15a3faa7af90c61d8270e2f8333 added SecondaryOpeningHours as an object: SecondaryOpeningHours OpeningHours
json:"secondary_opening_hours,omitempty"
it should be an array imho SecondaryOpeningHours []*OpeningHours
json:"secondary_opening_hours,omitempty"
In ID ChIJUXcBoFD-nkcR3s74TnqlDHM it is an array: "secondary_opening_hours" : [{...}] and the comment says so too: "SecondaryOpeningHours may contain an array of entries ..."
It works in v1.3.2