Chordname doesn't influence the notation of Dominant 7 chords yet.
When I place a Dominant 7 in their Root Key (C7 in Fmajor or Fminor etc.), the notation/exposure is completely correct, but the Chordname has no influence yet over the notation in other Key Signatures then they originally belong. Check for instance E7 (with an Ab instead of G#), A7 (with Db instead of C#) and B7 (with Eb instead of D#) in the Key of C, E7, and B7 in the Key of G. The notation in the Key of G is correct for my examples.
I didn't check yet for the sharp and flat dominants.
n.b. Perhaps wise to wait with testing the Chordfunction any further?
I could be way off on this, but I suspect the chord function currently isn't anything beyond a label/text above a chord. I don't know that it interacts with accidentals/keys in any way.
@Canaanabolaanan - that's correct. Currently, chord names don't affect the notation in any way