HDR in EDR Fat Tree

I have an existing all EDR Fat tree topology and am planning to upgrade the spine swithes to HDR. In the meantime, I have a need to temporarily add an additional leaf switch. Is it possible to add an HDR leaf switch to an EDR spine? Understanding that I would take the performance hit, would there be compatibility issues?