You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating new faculty members, the absences are (currently) created in the controller. This should probably be moved to a subscriber to be more in-keeping with the TypeORM way of doing things as well as providing a better guarantee that creating a new faculty member will always create the appropriate absences (rather than having to rely on the controller doing it correctly for us)
The text was updated successfully, but these errors were encountered:
In order to expidite the patching of the bug, the subscriber has been replaced
with code in the Nest controller. This is due to the fact that changes to how
records are created would have knock-on impacts on the population service and
ETL script which would potentially take time to patch and review.
Therefore, #625 has been opened to track this tech debt and will be revisited
at a later time
Description
When creating new faculty members, the absences are (currently) created in the controller. This should probably be moved to a subscriber to be more in-keeping with the TypeORM way of doing things as well as providing a better guarantee that creating a new faculty member will always create the appropriate absences (rather than having to rely on the controller doing it correctly for us)
The text was updated successfully, but these errors were encountered: