GH-10083: Apply Nullability to Core expression
package
#10265
Merged
+220
−205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to: #10083
SupplierExpression
as to not return null for result of the providedSupplier
. And fix Nullability from the super contractValueExpression
compatible with super contract, but still ensure not null for return valueDynamicExpression
compatible with super contract. Provide usability and code style refactoringFunctionExpression
to be compatible with super contract. At the same time ensure that input for the function is not null, but result of function could be null. Some other code style and usability refactoringExpressionUtils
which is deliberately not reachable due to NullabilityReloadableResourceBundleExpressionSource
and some simple refactoring according to IDE report.ExpressionEvalMap
to be aware of null values after expressions evaluation.ExpressionEvalMap
in the project.CassandraMessageHandler.setQuery()
withNullAway
sinceExpressionEvalMap
may produce nulls, and Cassandra driver can deal with nulls, but that is not expressed on the API with NullabilityThreadStatePropagationChannelInterceptor
for wrong import for the@Nullable
GraphQlMessageHandler
according to the mentioned aboveexpression
package fixes