spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

Redesign allowDiskUse attribute of Meta annotation.

Open christophstrobl opened this issue 1 year ago • 0 comments

This actually a follow up on #4666 to allow users to leverage the MongoDB disk usage defaults when working with the @Meta annotation which defaults allowDiskUse to false. With the current arrangement we cannot simply change the attribute as this would require a type switch (to String maybe as outlined below) and come with a behaviour change if we switch the default.

String allowDiskUse() default "";

christophstrobl avatar Mar 19 '24 10:03 christophstrobl