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

migration: api-depot postgres #126

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

fufeck
Copy link
Contributor

@fufeck fufeck commented Oct 28, 2024

@fufeck fufeck requested a review from MaGOs92 October 29, 2024 09:26
@@ -0,0 +1,174 @@
// HABILITATION

export enum StatusHabilitationEnum {
Copy link
Contributor

Choose a reason for hiding this comment

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

On pourrait pas exporter ces types via OpenAPI, comme pour le signalement et mes-adresses? Je vois qu'ils sont dupliqués dans pas mal d'endroits.
ça sera plus simple à maintenir

Copy link
Contributor Author

Choose a reason for hiding this comment

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

J'aimerais bien mais dans un second temps
On peut le faire pour l'api-depot et le moissonneur dans quasiment toutes nos briques.
Je voulais que la migration soit la plus petite possible dans un premier temps

};

export type Revision = {
id?: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

Pourquoi les Ids sont optionnelles? (Aussi pour les files, mandataires, chef de file)

Copy link
Contributor Author

@fufeck fufeck Nov 26, 2024

Choose a reason for hiding this comment

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

Pour aucune raison --' c'est corrigé

@fufeck fufeck requested a review from MaGOs92 November 27, 2024 09:23
Copy link
Contributor

@MaGOs92 MaGOs92 left a comment

Choose a reason for hiding this comment

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

code lgtm

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