I opened:
https://github.com/snapcore/snapd/pull/4582
along what we discussed
this then uses the information to pass it further along:
https://github.com/snapcore/snapd/pull/4599
this has landed and should be in 2.32.