Skip to content

feat: spec for new BaseFilter - #115

Open
scardanzan wants to merge 6 commits into
masterfrom
base-filter
Open

scardanzan wants to merge 6 commits into
masterfrom
base-filter

feat: add @Like, @In and @Or annotations to BaseFilter

d4d7892
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 24, 2026 in 18s

Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 53 in backend-core-data/src/main/java/com/flowingcode/backendcore/dao/QueryDao.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ712zOa4L5Jot4fXeum&open=AZ712zOa4L5Jot4fXeum&pullRequest=115

Check warning on line 131 in backend-core-model/src/test/java/com/flowingcode/backendcore/model/filter/BaseFilterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmPLbZpUxzD63zPP&open=AaDVGmPLbZpUxzD63zPP&pullRequest=115

Check warning on line 146 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConversionJpaDaoSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmTUbZpUxzD63zPV&open=AaDVGmTUbZpUxzD63zPV&pullRequest=115

Check warning on line 46 in backend-core-data/src/main/java/com/flowingcode/backendcore/dao/QueryDao.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ712zOa4L5Jot4fXeul&open=AZ712zOa4L5Jot4fXeul&pullRequest=115

Check failure on line 84 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConversionJpaDaoSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the return value of "merge()".

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmTUbZpUxzD63zPU&open=AaDVGmTUbZpUxzD63zPU&pullRequest=115

Check warning on line 306 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/BaseFilterJpaProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmVcbZpUxzD63zPW&open=AaDVGmVcbZpUxzD63zPW&pullRequest=115

Check warning on line 39 in backend-core-data/src/main/java/com/flowingcode/backendcore/dao/QueryDao.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ712zOa4L5Jot4fXeuk&open=AZ712zOa4L5Jot4fXeuk&pullRequest=115

Check warning on line 134 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConversionJpaDaoSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ-pLS3kvSJGQeq6ierM&open=AZ-pLS3kvSJGQeq6ierM&pullRequest=115

Check warning on line 112 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConversionJpaDaoSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ-pLS3kvSJGQeq6ierK&open=AZ-pLS3kvSJGQeq6ierK&pullRequest=115

Check warning on line 132 in backend-core-data-impl/src/test/java/com/flowingcode/backendcore/dao/jpa/BaseFilterPipelineTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmWkbZpUxzD63zPa&open=AaDVGmWkbZpUxzD63zPa&pullRequest=115

Check warning on line 122 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConversionJpaDaoSupport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ-pLS3kvSJGQeq6ierL&open=AZ-pLS3kvSJGQeq6ierL&pullRequest=115

Check failure on line 309 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/BaseFilterJpaProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmVcbZpUxzD63zPX&open=AaDVGmVcbZpUxzD63zPX&pullRequest=115

Check warning on line 199 in backend-core-model/src/test/java/com/flowingcode/backendcore/model/filter/BaseFilterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmPMbZpUxzD63zPR&open=AaDVGmPMbZpUxzD63zPR&pullRequest=115

Check failure on line 58 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/AttributePathResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove usage of generic wildcard type.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmSBbZpUxzD63zPT&open=AaDVGmSBbZpUxzD63zPT&pullRequest=115

Check warning on line 137 in backend-core-model/src/test/java/com/flowingcode/backendcore/model/filter/BaseFilterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmPLbZpUxzD63zPQ&open=AaDVGmPLbZpUxzD63zPQ&pullRequest=115

Check warning on line 201 in backend-core-model/src/test/java/com/flowingcode/backendcore/model/filter/BaseFilterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmPMbZpUxzD63zPS&open=AaDVGmPMbZpUxzD63zPS&pullRequest=115

Check failure on line 104 in backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/AttributePathResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AZ712zL24L5Jot4fXeuf&open=AZ712zL24L5Jot4fXeuf&pullRequest=115

Check warning on line 291 in backend-core-data-impl/src/test/java/com/flowingcode/backendcore/dao/jpa/BaseFilterDaoHookTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmWXbZpUxzD63zPZ&open=AaDVGmWXbZpUxzD63zPZ&pullRequest=115

Check warning on line 117 in backend-core-data-impl/src/test/java/com/flowingcode/backendcore/dao/jpa/BaseFilterDaoHookTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "em" which hides the field declared at line 112.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_backend-core&issues=AaDVGmWXbZpUxzD63zPY&open=AaDVGmWXbZpUxzD63zPY&pullRequest=115