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

refactor: introduit des types du domain pour découpler notre code de l'API Fabrique Social #2895

Conversation

JalilArfaoui
Copy link
Contributor

Ça devait être juste une refacto pour préparer le terrain pour #2879

Mais j'ai gardé quelques changements suite à la fusion de #2884.

En particulier, j'ai gardé une différence dans le type Entreprise entre siège et établissement de travail.

  • Lors de la recherche, si on récupère le siège et qu'il est différent de l'établissement renvoyé, on affiche son adresse
  • Dans la suite de l'application, c'est bien l' établissement recherché qui est utilisé.

image

Copy link

netlify bot commented Feb 10, 2024

Deploy Preview for nostalgic-mahavira-52b682 canceled.

Name Link
🔨 Latest commit f46dfd9
🔍 Latest deploy log https://app.netlify.com/sites/nostalgic-mahavira-52b682/deploys/65e8f40f1844440008e9f60f

@JalilArfaoui JalilArfaoui force-pushed the refactor/entreprise_api_adapter branch from b272ac0 to d09660d Compare February 10, 2024 23:35
Copy link
Collaborator

@johangirod johangirod left a comment

Choose a reason for hiding this comment

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

Trop bien le nouveau dossier domain, j'adore !

Petite question : vérifier si les fichiers *.specs sont bien lancé par le test runner.

site/source/domain/Date.ts Show resolved Hide resolved
site/source/domain/Date.ts Outdated Show resolved Hide resolved
site/source/domain/Entreprise.ts Show resolved Hide resolved
Pourrait être exporté de Publi.codes à terme.
@JalilArfaoui
Copy link
Contributor Author

Remplacé par #2929

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