Skip to content

Conversation

@schauder
Copy link
Contributor

Merge directly after DATACMNS-800


repository
.saveAll(Arrays.asList(SampleEntity.builder().build(), SampleEntity.builder().build(),
.saveAll(asList(SampleEntity.builder().build(), SampleEntity.builder().build(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: We generally don't import Arrays statically to avoid clashes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I only knew the rule that static imports are ok in tests. Will undo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted those changes.

Copy link
Member

@mp911de mp911de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One thing that I noticed is that deleteAll(…) doesn't seem to make use of entity callbacks or lifecycle events @sothawo.

mp911de pushed a commit that referenced this pull request Nov 25, 2020
…teAllById(Iterable<ID> ids).

Original pull request: #554.
mp911de added a commit that referenced this pull request Nov 25, 2020
Use deleteAllById(…) from deleteAll(…). Simplify implementation in SimpleReactiveElasticsearchRepository.

Original pull request: #554.
@mp911de
Copy link
Member

mp911de commented Nov 25, 2020

That's merged and polished now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants