The next version of richie-education package rename Enrollment type into UnknownEnrollment. As we were using this type in an overridden module, tsc command raises an error and prevent the frontend to be built. In order to be able to build canary images without requiring to release a new version of Richie, we simply remove the use of the problematic type. As the impacted module is only reserved for development purpose, this workaround looks acceptable.
The job to build canary image currently fails. https://app.circleci.com/pipelines/github/openfun/fun-richie-site-factory/561/workflows/d1a4c9ba-5bc6-404e-8b17-266121c142d1/jobs/14812
The next version of
richie-education
package renameEnrollment
type intoUnknownEnrollment
. As we were using this type in an overridden module,tsc
command raises an error and prevent the frontend to be built. In order to be able to build canary images without requiring to release a new version of Richie, we simply remove the use of the problematic type. As the impacted module is only reserved for development purpose, this workaround looks acceptable.