morphia
morphia copied to clipboard
Apply @AlsoLoad during query construction
@AlsoLoad is there to help load data from old location as part of a gradual migration to new schema definitions. But this gradualness breaks queries against those migrating fields. What if queries would automatically $or together filters against those fields so they'd resolve properly against those old locations? Such a feature would likely need to be opt in for performance reasons.