[FIX] getCities
See original GitHub issueToday 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 ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (24 by maintainers)
Top Results From Across the Web
GET Cities: Home
Gender Equality in Tech (GET) Cities is an initiative designed to accelerate the representation and leadership of women in tech through the development...
Read more >GETCities on Twitter: ""I know that when we build teams to ...
@GETCities. "I know that when we build teams to solve problems, to design products & systems, that those teams are most effective and...
Read more >jQuery GetCity is not defined - javascript - Stack Overflow
Your (function GetCity(_warehousesId) {})(jQuery) is wrong. You try to create self-executing function and later you try to use it.
Read more >Fix For Type '()' cannot conform t… | Apple Developer Forums
So this works ok. my issue is when adding a code above contentView(cities) since it seems this kind of closure only accepts 1...
Read more >FetchingDataOnDemand Exercise Small Issue - OutSystems
OnChangeCity refresh getCities ... While trying to solve the problem. ... I also fixed the city filter to be what you said first....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll do that and enjoy your vacation 😃
Make sense. I’d go for keeping the
getCities
name.