Skip to content

feat: add address service from data.gouv.fr and frontend autocomplete#1315

Open
lwih wants to merge 2 commits intomainfrom
communes
Open

feat: add address service from data.gouv.fr and frontend autocomplete#1315
lwih wants to merge 2 commits intomainfrom
communes

Conversation

@lwih
Copy link
Copy Markdown
Collaborator

@lwih lwih commented Mar 31, 2026

@tristanrobert
Copy link
Copy Markdown

tristanrobert commented Mar 31, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

SEDENTARY_FISHMONGER,
ROADSIDE_INSPECTION,
SHOUTED,
FISH_AUCTION,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Shouted, c'est plutot "criéée" dans le sens participage passé du verbe crier.
J'ai renommé avec un vrai nom

Comment on lines +62 to +64
var portLocode: String?
var zipCode: String?
var city: String?
Copy link
Copy Markdown
Collaborator Author

@lwih lwih Apr 2, 2026

Choose a reason for hiding this comment

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

Donc ici :

  • pas possible de faire de foreign key sur Port parce que stocké chez Fish donc je stocke le locode, qui est la primary key
  • je trouvais que c'était un peu overkill de faire une foreign key sur Address pour juste ville/codepostal. Obligé de stocker la paire ville/code parce que le code postal est paas un discriminant suffisant

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.

2 participants