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(type_de_champ): cleanup type predicate methods #11029

Merged

Conversation

tchak
Copy link
Member

@tchak tchak commented Nov 7, 2024

No description provided.

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.49%. Comparing base (e84071a) to head (dc6bad4).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
app/graphql/types/champ_descriptor_type.rb 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11029      +/-   ##
==========================================
- Coverage   84.52%   84.49%   -0.04%     
==========================================
  Files        1163     1163              
  Lines       25730    25684      -46     
  Branches     4857     4857              
==========================================
- Hits        21749    21701      -48     
- Misses       3981     3983       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tchak tchak force-pushed the refactor-type-de-champ-predicates branch 2 times, most recently from c2c3bab to 7be4f90 Compare November 12, 2024 08:42
Copy link
Member

@LeSim LeSim left a comment

Choose a reason for hiding this comment

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

pas trop chaud pour ce changement car j'ai l'impression que c'est une surcouche à rails

app/models/type_de_champ.rb Outdated Show resolved Hide resolved
app/models/type_de_champ.rb Outdated Show resolved Hide resolved
@tchak tchak force-pushed the refactor-type-de-champ-predicates branch from 7be4f90 to fb8eeed Compare November 12, 2024 10:48
@tchak tchak force-pushed the refactor-type-de-champ-predicates branch from fb8eeed to dc6bad4 Compare November 12, 2024 11:02
Copy link
Member

@LeSim LeSim left a comment

Choose a reason for hiding this comment

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

Génial ! merci beaucoup !

@@ -66,7 +66,7 @@ class TypeDeChamp < ApplicationRecord
expression_reguliere: STANDARD
}

enum type_champs: {
enum type_champ: {
Copy link
Member

Choose a reason for hiding this comment

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

🍾

@tchak tchak added this pull request to the merge queue Nov 12, 2024
Merged via the queue into demarches-simplifiees:main with commit 8db85b4 Nov 12, 2024
18 checks passed
@tchak tchak deleted the refactor-type-de-champ-predicates branch November 12, 2024 13:13
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