-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Labels
Milestone
Description
Today getCities
return just city name, but in Brazil, we have some cities with same name in different states... So I think that we should return stateCode
and maybe code
(IBGE id) in the returned data.
Something like that:
[
{
code: 14324,
name: 'Bom Jesus',
stateCode: 'SC',
},
{
code: 14324,
name: 'Bom Jesus',
stateCode: 'RS',
},
{
code: 14324,
name: 'Bom Jesus',
stateCode: 'RN',
},
{
code: 14324,
name: 'Bom Jesus',
stateCode: 'PB',
},
{
code: 14324,
name: 'Bom Jesus',
stateCode: 'PI',
}
]
I know this change will break our API, but since we're still in RC, maybe it's not a big problem. What do you think about it @arantespp @andreoav ?