@sonny I'm Go Team Flatpak all the way, but managing dependencies sounds an awful lot like the work of a classical distro. I have the feeling this is the start of a deep rabbit hole. Learning from and cooperating with the people doing it for a long time might be a wise move.
Been thinking about this for a while already. It probably will become more than a bit of glue code.
@v02460 it's not comparable.
Flatpak dependencies here means
runtimes, sdks, extensions and modules
The developer of the app would manage them directly.