Skip to content

Conversation

@maalhamdan
Copy link

The API provider recently enforced adding fields to the \all endpoint. This PR fixes the issue by adding the necessary fields to the all countries endpoint.

In addition, the endpoint \name does not always return the borders for the country which causes the country view to break in the app - I don't know if this is new or not. The PR addresses this issue by making the relevant types optional.

modmani added 2 commits June 12, 2025 11:37
The API provider is now requiring requests for this endpoint to specify upto 10 fields (https://gitlab.com/restcountries/restcountries/-/issues/265)
The type of the borders array returned by the API is optional
@nalexn nalexn merged commit f1ac880 into nalexn:master Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants