Would the exception need to come from lower down in the stack? (Perhaps from the storages class?) It seems to me that you could have a storage class that creates an arbitrary name if one isn’t provided. (At least it looks to me like the Storage class API makes that a feasible option.) Should the default file system storage do this?
Nope, this is on me. I waded into an area where I thought my knowledge was greater than what turns out to be the case.
This was my first time really diving into this topic, and it has taken me some time to wrap my head around what is going on, along with trying to really understand the issue being presented. (I also hold the general opinion that everything within the ORM internally should be labeled “There be dragons here!”, but that’s a different issue.)