-
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
Added the FilterClause #23
Conversation
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperation.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/JsonLiteral.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/JsonLiteral.java
Outdated
Show resolved
Hide resolved
...n/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ValueComparisonOperator.java
Show resolved
Hide resolved
.../java/io/stargate/sgv3/docsapi/api/model/command/deserializers/FilterClauseDeserializer.java
Outdated
Show resolved
Hide resolved
.../java/io/stargate/sgv3/docsapi/api/model/command/deserializers/FilterClauseDeserializer.java
Show resolved
Hide resolved
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.
Good stuff.. Left a lot of comments, but my main goal would be to add more tests here. We can not simply add code without any tests and there are bunch of branches here.. Let's do things in a correct way!
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/JsonType.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/JsonType.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/JsonType.java
Outdated
Show resolved
Hide resolved
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/Filterable.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/exception/ErrorCode.java
Outdated
Show resolved
Hide resolved
src/test/java/io/stargate/sgv3/docsapi/api/configuration/ObjectMapperConfigurationTest.java
Outdated
Show resolved
Hide resolved
src/test/java/io/stargate/sgv3/docsapi/api/configuration/ObjectMapperConfigurationTest.java
Outdated
Show resolved
Hide resolved
src/test/java/io/stargate/sgv3/docsapi/api/configuration/ObjectMapperConfigurationTest.java
Show resolved
Hide resolved
Changed the JsonLiteral as typed instead of using it on the methods.
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.
Added few more comments.. Very good round of reviews.. Would like to see how can we finalize the generalization of the types 👍
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperation.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperation.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperator.java
Outdated
Show resolved
Hide resolved
.../java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpressionTest.java
Outdated
Show resolved
Hide resolved
src/test/java/io/stargate/sgv3/docsapi/api/configuration/ObjectMapperConfigurationTest.java
Outdated
Show resolved
Hide resolved
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.
Can you check if those suggestions below make sense?
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperation.java
Outdated
Show resolved
Hide resolved
src/main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/FilterOperation.java
Outdated
Show resolved
Hide resolved
.../java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ValueComparisonOperation.java
Outdated
Show resolved
Hide resolved
...main/java/io/stargate/sgv3/docsapi/api/model/command/clause/filter/ComparisonExpression.java
Outdated
Show resolved
Hide resolved
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.
🚀
Creating smaller PR's for review