morphia
morphia copied to clipboard
Update DiscriminatorFunction API to return the value rather than set it directly
This change simplifies the critter implementation of discriminator configuration and aligns this API with NamingStrategy, e.g.