We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Variables in our email templates are not consistent. This leads to unnecessary code duplication.
This leads to dealing with errors like EventException: NullPointerException: null; while processing ReferralEvent more difficult (there's no assignee).
With camelCase:
hmpps-interventions-service/src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/service/notifications/ReferralNotificationService.kt
Lines 71 to 73 in bf2b251
With snake_case:
Lines 85 to 87 in bf2b251
Standardise on one casing. Use it everywhere.
This requires duplicating templates until the switchover happens.
The text was updated successfully, but these errors were encountered:
#1219 partially DRYs the code up, but there are still templates with different casing and names for the same values.
Sorry, something went wrong.
No branches or pull requests
Short problem statement; why is this a problem?
Variables in our email templates are not consistent.
This leads to unnecessary code duplication.
This leads to dealing with errors like EventException: NullPointerException: null; while processing ReferralEvent more difficult (there's no assignee).
Link to different approaches
With camelCase:
hmpps-interventions-service/src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/service/notifications/ReferralNotificationService.kt
Lines 71 to 73 in bf2b251
With snake_case:
hmpps-interventions-service/src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/service/notifications/ReferralNotificationService.kt
Lines 85 to 87 in bf2b251
Do you have a proposed solution? Why?
Standardise on one casing. Use it everywhere.
This requires duplicating templates until the switchover happens.
The text was updated successfully, but these errors were encountered: