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

Multiple bugfixes #138

Merged
merged 17 commits into from
Apr 3, 2024
Merged

Multiple bugfixes #138

merged 17 commits into from
Apr 3, 2024

Conversation

skelz0r
Copy link
Member

@skelz0r skelz0r commented Mar 28, 2024

WIP des erreurs que je dépile en staging

@skelz0r skelz0r self-assigned this Mar 28, 2024
@skelz0r skelz0r force-pushed the ops/bugfixes branch 4 times, most recently from 8716d1f to 8b34a1b Compare March 28, 2024 17:50
@skelz0r
Copy link
Member Author

skelz0r commented Mar 28, 2024

A ce stade là les webhooks créent bien des models sur API Entreprise, mais je n'ai pas de jeton, problème côté API E.

@skelz0r skelz0r force-pushed the ops/bugfixes branch 2 times, most recently from fb23300 to 76bd218 Compare March 29, 2024 10:36
skelz0r and others added 17 commits April 1, 2024 14:56
This E2E starts from the interactor, enqueue the job and execute it.
Before this commit, this entire stack was not execute within the
basecode.
1. intitule/description is not required and can't be undefined for some
   authorization requests
2. `contacts` was renamed `team_members`
3. `demarche` is an id, not a name
4. `team_members` has the applicant as "demandeur"
By default ActiveModel::Serializer seems to include only 1-depth level
of associations.

We have to explicitly include events.user to our serialization,
otherwise authorization_request->events[]->user is missing
There is orphan events on an authorization request event. This commit
harden links and dependent destroy between entities.

Should be OK to destroy an authorization request now.
Previous commit exclude events unused eager loads (false positive)
@skelz0r skelz0r merged commit e610e27 into develop Apr 3, 2024
7 checks passed
@skelz0r skelz0r deleted the ops/bugfixes branch April 3, 2024 10:11
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