Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign allowDiskUse attribute of Meta annotation. #4667

Open
christophstrobl opened this issue Mar 19, 2024 · 0 comments
Open

Redesign allowDiskUse attribute of Meta annotation. #4667

christophstrobl opened this issue Mar 19, 2024 · 0 comments
Labels
has: breaking-change An issue that is associated with a breaking change. status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

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 christophstrobl added the status: pending-design-work Needs design work before any code can be developed label Mar 19, 2024
@mp911de mp911de added has: breaking-change An issue that is associated with a breaking change. type: enhancement A general enhancement labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has: breaking-change An issue that is associated with a breaking change. status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants