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

FMWK-258 Refactor Operations/Template #651

Merged
merged 9 commits into from
Nov 6, 2023
Merged

Conversation

roimenashe
Copy link
Member

No description provided.

…message to use the new ones "deleteAll" and "deleteById".
…eactive flows

2. Improve README
3. Add missing reactive operation methods
4. Polish API (methods naming, fields naming, javadocs, interface and implementation ordering...)
…rations

# Conflicts:
#	src/main/java/org/springframework/data/aerospike/repository/query/AerospikeQueryCreator.java
@roimenashe roimenashe marked this pull request as ready for review November 5, 2023 10:21
@Override
public <T> Stream<T> findAll(Class<T> entityClass) {
Assert.notNull(entityClass, "Entity class must not be null!");
private void checkForErrors(IAerospikeClient client, Key[] keys) {
Copy link
Member

Choose a reason for hiding this comment

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

It's better to rename to something like deleteAndHandleErrors


/**
* Find documents in the given entityClass's set using a query and map them to the given target class type.
* Add integer/double bin values to existing document bin values with a given set name, read the new modified
* document and map it back the given document class type.
Copy link
Member

Choose a reason for hiding this comment

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

map it back the given document class type -> map it back to the given document class type
For all related methods.

README.adoc Outdated
issue] for a feature request or bug fixing, comment and vote on the ones that
you are interested in
* GitHub is for social coding: we encourage contributions through pull requests from
https://help.github.com/forking/[forks of this repository]. when contributing code,
Copy link

Choose a reason for hiding this comment

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

when contributing code -> When contributing code (capital letter)

README.adoc Outdated
* GitHub is for social coding: we encourage contributions through pull requests from
https://help.github.com/forking/[forks of this repository]. when contributing code,
please reference a specific GitHub issue you are addressing
covering the specific case you are addressing
Copy link

Choose a reason for hiding this comment

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

Let's have something like "When contributing code, please reference a specific GitHub issue you are addressing". Do you agree?

to Aerospike Stand-Up
Copy link

@agrgr agrgr Nov 5, 2023

Choose a reason for hiding this comment

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

I think there has to be a full stop (".") in the end of this sentence. What do you think?

Copy link
Member Author

@roimenashe roimenashe Nov 6, 2023

Choose a reason for hiding this comment

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

For some reason my previous comment was deleted.

I think that since its a part of a list of bullet points it should be aligned with the rest of the bullet points and there shouldn't be "." at the end of the sentence.

@roimenashe roimenashe requested review from agrgr and reugn November 6, 2023 10:32
@roimenashe roimenashe merged commit 107339d into main Nov 6, 2023
6 checks passed
@roimenashe roimenashe deleted the FMWK-258-refactor-operations branch November 6, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants