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

In support #535

Merged
merged 20 commits into from
Sep 27, 2023
Merged

In support #535

merged 20 commits into from
Sep 27, 2023

Conversation

Yuqi-Du
Copy link
Contributor

@Yuqi-Du Yuqi-Du commented Sep 21, 2023

What this PR does: add in operation for jsonapi

Which issue(s) this PR fixes:
Issue 291
PR 348

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@Yuqi-Du Yuqi-Du requested a review from a team as a code owner September 21, 2023 21:14
@Yuqi-Du Yuqi-Du closed this Sep 21, 2023
@Yuqi-Du Yuqi-Du reopened this Sep 21, 2023
@Yuqi-Du
Copy link
Contributor Author

Yuqi-Du commented Sep 21, 2023

The current test fail is because of that querybuilder quarkus-common change has not been released.

@Yuqi-Du Yuqi-Du closed this Sep 21, 2023
@Yuqi-Du Yuqi-Du reopened this Sep 21, 2023
@Yuqi-Du Yuqi-Du closed this Sep 22, 2023
@Yuqi-Du Yuqi-Du reopened this Sep 22, 2023
@Yuqi-Du Yuqi-Du closed this Sep 22, 2023
@Yuqi-Du Yuqi-Du reopened this Sep 22, 2023
}
});

return queries;
if (hasInFilterBesidesIdField.get()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Number of conditionality is going up. Can you resolve to some type (If possible in the FilterableResolver) and write them with switch case instead of if-else block?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, Mahesh, after looking into it for a long time.
I do not think this is doable right now, since resolve() method returns List, I need to iterate through the list. I can move some codes forward into FindOneAndDeleteCommandResolver, but does not make a big difference.
Do you have some suggestions.

@Yuqi-Du Yuqi-Du merged commit 538cac3 into main Sep 27, 2023
3 checks passed
@Yuqi-Du Yuqi-Du deleted the in-support branch September 27, 2023 17:37
@Yuqi-Du Yuqi-Du mentioned this pull request Sep 28, 2023
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.

4 participants