Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'is_landlocked' property #56

Merged
merged 7 commits into from Oct 24, 2020

Conversation

jav7zaid
Copy link
Contributor

@jav7zaid jav7zaid commented Oct 4, 2020

Issue #47

#Pull Request description

  • Added new property is_landlocked in data.json file **source - wikipedia and world map **
  • Added new method getCountriesByLandLock() to fetch the data in index.js
  • Added test cases to cover the method in getCountriesSpec.js
  • Fixed existing test cases.
  • Updated readme.md for the new changes.
  • Fixed a typo for getCountriesByFamousFor()

Copy link
Collaborator

@sthiepaan sthiepaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks promising! I added few comments/suggestions to improve your code 😉
Thank you @jav7zaid!

README.md Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
spec/getCountriesSpec.js Outdated Show resolved Hide resolved
spec/getCountriesSpec.js Outdated Show resolved Hide resolved
spec/getCountriesSpec.js Outdated Show resolved Hide resolved
@sthiepaan
Copy link
Collaborator

@jav7zaid you don't need to answer to every single comment - it spams my e-mail so hard 😅... If you decide that you will apply changes, you can just do them and after you finish/commit mark a comment as resolved 😉

@jav7zaid
Copy link
Contributor Author

jav7zaid commented Oct 5, 2020

@bhatvikrant and @sthiepaan please check the PR ,i have updated it with review comments.
I have removed the package-lock.json file.
Let me know if looks good to be merged.

index.js Outdated Show resolved Hide resolved
@sthiepaan
Copy link
Collaborator

@jav7zaid after you finish applying and pushing changes - instead of writing a comment - you can click on little circle icon in Reviewers section (located at top right of the Pull Request) near reviewer nickname 😉

Copy link
Collaborator

@sthiepaan sthiepaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Owner

@bhatvikrant bhatvikrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jav7zaid please resolve conflicts and then its good to go!

@sthiepaan sthiepaan linked an issue Oct 18, 2020 that may be closed by this pull request
Copy link
Collaborator

@sthiepaan sthiepaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to merge this Pull Request but unfortunately we struggle with some merge conflicts. Conflicts are in:

  • README.md
  • data/data.json
  • index.js
  • spec/getCountriesSpec.js

@jav7zaid could you resolve them? 😉

@jav7zaid
Copy link
Contributor Author

I would like to merge this Pull Request but unfortunately we struggle with some merge conflicts. Conflicts are in:

  • README.md
  • data/data.json
  • index.js
  • spec/getCountriesSpec.js

@jav7zaid could you resolve them? 😉

done @sthiepaan

Copy link
Collaborator

@sthiepaan sthiepaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sthiepaan sthiepaan merged commit 820e1f3 into bhatvikrant:master Oct 24, 2020
@jav7zaid
Copy link
Contributor Author

I would like to merge this Pull Request but unfortunately we struggle with some merge conflicts. Conflicts are in:

  • README.md
  • data/data.json
  • index.js
  • spec/getCountriesSpec.js

@jav7zaid could you resolve them? 😉

done @sthiepaan

i think my changes disturbed the existing test cases fixing them.

@sthiepaan
Copy link
Collaborator

@jav7zaid actually yes, you broke it! 😅... Always run npm test before making a commit.
Please make a new Pull Request with fix for that ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new API Property - is_landlocked
3 participants