Skip to content

Refine RedisCollectionFactoryBean collection creation #2637

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

Closed
wants to merge 2 commits into from
Closed

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Jul 12, 2023

We now cross-check the existing key type against the specified CollectionType to avoid collection creation that doesn't match the configured CollectionType. If the existing key type doesn't match the configured CollectionType, collection creation fails with a validation error.

Closes #2633

mp911de added 2 commits July 12, 2023 09:25
We now cross-check the existing key type against the specified CollectionType to avoid collection creation that doesn't match the configured CollectionType. If the existing key type doesn't match the configured CollectionType, collection creation fails with a validation error.

Closes #2633
@mp911de mp911de added the type: enhancement A general enhancement label Jul 12, 2023
@mp911de mp911de requested a review from christophstrobl July 12, 2023 08:26
christophstrobl pushed a commit that referenced this pull request Jul 12, 2023
We now cross-check the existing key type against the specified CollectionType to avoid collection creation that doesn't match the configured CollectionType. If the existing key type doesn't match the configured CollectionType, collection creation fails with a validation error.

Closes #2633
Original Pull Request: #2637
christophstrobl added a commit that referenced this pull request Jul 12, 2023
Add tests that assert initialization constraints, use early return to default value in case of null and align code format.

Original Pull Request: #2637
@christophstrobl christophstrobl deleted the issue/2633 branch July 12, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine RedisCollectionFactoryBean collection creation
2 participants