Skip to content

feat: complete the GraphQL server HTTP binding (G1) - #1590

Open
jlouvel wants to merge 3 commits into
feat/graphql-g0-spikefrom
feat/graphql-g1-server
Open

jlouvel wants to merge 3 commits into
feat/graphql-g0-spikefrom
feat/graphql-g1-server

fix: check the customized GraphQL operation and refine GET responses

c4b92ab
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 30, 2026 in 50s

Annotations

Check warning on line 387 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQQ&open=AaGKp44uL9I5l1xBARQQ&pullRequest=1590

Check failure on line 268 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "extensions" 3 times.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQL&open=AaGKp44uL9I5l1xBARQL&pullRequest=1590

Check warning on line 233 in org.restlet.ext.graphql/src/test/java/org/restlet/ext/graphql/GraphqlServerBindingTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp43RL9I5l1xBARQJ&open=AaGKp43RL9I5l1xBARQJ&pullRequest=1590

Check warning on line 395 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQT&open=AaGKp44uL9I5l1xBARQT&pullRequest=1590

Check warning on line 400 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQS&open=AaGKp44uL9I5l1xBARQS&pullRequest=1590

Check warning on line 224 in org.restlet.ext.graphql/src/test/java/org/restlet/ext/graphql/GraphqlServerBindingTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp43RL9I5l1xBARQI&open=AaGKp43RL9I5l1xBARQI&pullRequest=1590

Check failure on line 262 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "operationName" 3 times.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGOWvOGFOH_dHjY_5Bv&open=AaGOWvOGFOH_dHjY_5Bv&pullRequest=1590

Check failure on line 264 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "variables" 3 times.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQM&open=AaGKp44uL9I5l1xBARQM&pullRequest=1590

Check warning on line 393 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQR&open=AaGKp44uL9I5l1xBARQR&pullRequest=1590

Check warning on line 383 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQP&open=AaGKp44uL9I5l1xBARQP&pullRequest=1590

Check failure on line 261 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "query" 3 times.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGOWvOGFOH_dHjY_5Bu&open=AaGOWvOGFOH_dHjY_5Bu&pullRequest=1590

Check failure on line 226 in org.restlet.ext.graphql/src/main/java/org/restlet/ext/graphql/GraphqlServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaGKp44uL9I5l1xBARQO&open=AaGKp44uL9I5l1xBARQO&pullRequest=1590