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

feat: add item geolocation type #385

Merged
merged 2 commits into from
Jan 25, 2024
Merged

feat: add item geolocation type #385

merged 2 commits into from
Jan 25, 2024

Conversation

pyphilia
Copy link
Contributor

No description provided.

@pyphilia pyphilia self-assigned this Jan 24, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

lat: number;
lng: number;
item: DiscriminatedItem;
country: string | null;
Copy link
Contributor

Choose a reason for hiding this comment

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

If it is impossible to insert an ItemGeolocation without the country, the country could be a string only ? If not, just ignore my comment.

I'm talking about this comment: graasp/graasp#777 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I changed since it's possible to add a point in the sea (without a country) I guess 🤷‍♀️

Copy link
Contributor

@ReidyT ReidyT left a comment

Choose a reason for hiding this comment

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

👍

@pyphilia pyphilia merged commit 588d5d7 into main Jan 25, 2024
3 checks passed
@pyphilia pyphilia deleted the item-geolocation branch January 25, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants