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

[FEATURE] Add a location #59

Closed
4 tasks done
YummYume opened this issue Nov 13, 2023 · 0 comments
Closed
4 tasks done

[FEATURE] Add a location #59

YummYume opened this issue Nov 13, 2023 · 0 comments
Assignees
Labels
backend Backend development tasks and issues feature Tasks related to the development of new features

Comments

@YummYume
Copy link
Owner

YummYume commented Nov 13, 2023

Type of feature

Something new

The name of the feature

Adding a location

Feature description

Locations are not directly added with mutations, but rather when anything related to that location is created.

For example, if I create a heist on a location (that is not in the DB), it needs to be added to the DB.

However, we need to check beforehand if the location exists and is valid (from the Google Maps API).

  • Add a validator to check that the location does exist and is located in New York City.
  • Don't enable direct mutations.
  • Add tests for validating the location.
  • A location should be represented by its latitude and longitude properties (API identifier).

Additional information

No response

@YummYume YummYume added the feature Tasks related to the development of new features label Nov 13, 2023
@YummYume YummYume mentioned this issue Nov 13, 2023
2 tasks
@YummYume YummYume added the backend Backend development tasks and issues label Nov 13, 2023
@Spacelocust Spacelocust self-assigned this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend development tasks and issues feature Tasks related to the development of new features
Projects
None yet
Development

No branches or pull requests

2 participants