-
Notifications
You must be signed in to change notification settings - Fork 16
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
In support #535
Conversation
The current test fail is because of that querybuilder quarkus-common change has not been released. |
src/main/java/io/stargate/sgv2/jsonapi/service/operation/model/impl/DBFilterBase.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv2/jsonapi/service/operation/model/impl/FindOperation.java
Outdated
Show resolved
Hide resolved
} | ||
}); | ||
|
||
return queries; | ||
if (hasInFilterBesidesIdField.get()) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
What this PR does: add in operation for jsonapi
Which issue(s) this PR fixes:
Issue 291
PR 348
Checklist