You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2020/10/12 11:52:16 UTC

[sling-org-apache-sling-graphql-core] branch issue/SLING-9796 updated (d7d43a3 -> e49385a)

This is an automated email from the ASF dual-hosted git repository.

radu pushed a change to branch issue/SLING-9796
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-graphql-core.git.


    omit d7d43a3  SLING-9796 - Add support for using Unions
    omit 18c7112  SLING-9796 - Add support for using Unions
    omit 00954a4  SLING-9796 - Add support for using Unions
    omit 9e3de63  SLING-9796 - Add support for using Unions
     add afc4738  releng: bumped parent pom until release
     add d22fb27  SLING-9813 - remove scripted SlingDataFetcher support
     add 0e0d29d  SLING-9800 - Extract a service to be able to execute GraphQL queries directly
     add e49385a  SLING-9796 - Add support for using Unions

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d7d43a3)
            \
             N -- N -- N   refs/heads/issue/SLING-9796 (e49385a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 README.md                                          |   2 +
 .../sling/graphql/api/engine/QueryExecutor.java    |  10 +-
 .../ValidationResult.java}                         |  30 +++---
 .../graphql/core/engine/DefaultQueryExecutor.java  |  40 +++++---
 .../core/engine/DefaultValidationResult.java       |  73 ++++++++++++++
 .../core/engine/ScriptedDataFetcherProvider.java   |  56 -----------
 .../core/engine/SlingDataFetcherSelector.java      |   9 +-
 .../core/scripting/GraphQLScriptEngine.java        |   6 +-
 .../sling/graphql/core/servlet/GraphQLServlet.java |  22 +++--
 .../core/engine/DefaultQueryExecutorTest.java      |  26 ++---
 .../graphql/core/engine/ResourceQueryTestBase.java |   7 +-
 .../engine/ScriptedDataFetcherProviderTest.java    | 105 ---------------------
 .../core/engine/SlingDataFetcherSelectorTest.java  |   6 --
 .../sling/graphql/core/it/GraphQLServletIT.java    |  10 --
 .../sling/graphql/core/it/ServerSideQueryIT.java   |  16 +---
 .../core/schema/SchemaDescriptionsTest.java        |   9 +-
 .../graphql/core/servlet/GraphQLServletTest.java   |   5 +-
 .../resources/failing-type-resolver-schema.txt     |   2 -
 .../graphql/fetchers/scripted/example/fetcher.js   |  28 ------
 .../apps/graphql/test/one/GQLschema.jsp            |   2 +-
 .../initial-content/apps/graphql/test/one/json.gql |   2 +-
 .../apps/graphql/test/one/scripted.GQLschema.jsp   |  41 --------
 .../apps/graphql/test/one/scripted.json.gql        |  29 ------
 .../apps/graphql/test/two/scripted.GQLschema.jsp   |  40 --------
 src/test/resources/test-schema.txt                 |   3 -
 25 files changed, 176 insertions(+), 403 deletions(-)
 copy src/main/java/org/apache/sling/graphql/api/{SlingGraphQLException.java => engine/ValidationResult.java} (55%)
 create mode 100644 src/main/java/org/apache/sling/graphql/core/engine/DefaultValidationResult.java
 delete mode 100644 src/main/java/org/apache/sling/graphql/core/engine/ScriptedDataFetcherProvider.java
 delete mode 100644 src/test/java/org/apache/sling/graphql/core/engine/ScriptedDataFetcherProviderTest.java
 delete mode 100644 src/test/resources/initial-content/apps/graphql/fetchers/scripted/example/fetcher.js
 delete mode 100644 src/test/resources/initial-content/apps/graphql/test/one/scripted.GQLschema.jsp
 delete mode 100644 src/test/resources/initial-content/apps/graphql/test/one/scripted.json.gql
 delete mode 100644 src/test/resources/initial-content/apps/graphql/test/two/scripted.GQLschema.jsp