This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a change to branch CAUSEWAY-3676
in repository https://gitbox.apache.org/repos/asf/causeway.git
from e41b1ef105 CAUSEWAY-3676: makes top level also inherit from
GqlvAbstractCustom
new 13b9d6724a CAUSEWAY-3676: simplifies constructor of GqlvAbstractCustom
new 3fa2708789 CAUSEWAY-3676: reintroduces factory method for
GqlvDomainObject and ...Service
new cee920e46b CAUSEWAY-3676: passes in holder to addDataFetchers
new 062658e087 CAUSEWAY-3676: splits out Parent from Holder interfaces
new 1806e4b5e0 CAUSEWAY-3676: adds in scenario, ensure use factory method
for GqlvDomainObject
new d132572dad CAUSEWAY-3676: converts Context into a @Component
new 04c95da2a5 CAUSEWAY-3676: scenario given and name now works
new 986897a45f CAUSEWAY-3676: wip, rationalizing dataFetcher methods
new 64bb7e5cd6 CAUSEWAY-3676: renames data fetcher methods consistently
new a1c2c44532 CAUSEWAY-3676: speeds up integ tests by only dirtying the
context once
new 2af7585d25 CAUSEWAY-3676: makes fetchData abstract hook
The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../jpa/adoc/modules/ROOT/pages/weaving.adoc | 2 +-
.../viewer/graphql/model/context/Context.java | 12 +-
.../viewer/graphql/model/domain/GqlvAbstract.java | 2 +
.../graphql/model/domain/GqlvAbstractCustom.java | 49 ++++--
.../viewer/graphql/model/domain/GqlvAction.java | 28 ++--
.../graphql/model/domain/GqlvActionInvoke.java | 13 +-
.../graphql/model/domain/GqlvActionParam.java | 36 ++--
.../model/domain/GqlvActionParamAutoComplete.java | 16 +-
.../model/domain/GqlvActionParamChoices.java | 17 +-
.../model/domain/GqlvActionParamDefault.java | 186 ++++++++++-----------
.../model/domain/GqlvActionParamDisabled.java | 13 +-
.../model/domain/GqlvActionParamHidden.java | 13 +-
.../model/domain/GqlvActionParamValidate.java | 13 +-
.../graphql/model/domain/GqlvActionParams.java | 19 ++-
.../graphql/model/domain/GqlvActionValidity.java | 15 +-
.../graphql/model/domain/GqlvAssociation.java | 11 +-
.../graphql/model/domain/GqlvAssociationGet.java | 16 +-
.../graphql/model/domain/GqlvCollection.java | 20 +--
.../graphql/model/domain/GqlvDomainObject.java | 46 ++---
.../graphql/model/domain/GqlvDomainService.java | 50 +++---
.../viewer/graphql/model/domain/GqlvMember.java | 17 +-
.../graphql/model/domain/GqlvMemberDisabled.java | 17 +-
.../graphql/model/domain/GqlvMemberHidden.java | 17 +-
.../viewer/graphql/model/domain/GqlvMeta.java | 29 +++-
.../model/domain/GqlvMutationForAction.java | 15 +-
.../model/domain/GqlvMutationForProperty.java | 23 +--
.../viewer/graphql/model/domain/GqlvProperty.java | 34 ++--
.../model/domain/GqlvPropertyAutoComplete.java | 16 +-
.../graphql/model/domain/GqlvPropertyChoices.java | 16 +-
.../graphql/model/domain/GqlvPropertySet.java | 17 +-
.../graphql/model/domain/GqlvPropertyValidate.java | 17 +-
.../viewer/graphql/model/domain/GqlvScenario.java | 43 ++---
.../graphql/model/domain/GqlvScenarioGiven.java | 35 ++--
.../graphql/model/domain/GqlvScenarioName.java | 28 +---
.../model/domain/{GqlvHolder.java => Parent.java} | 2 +-
.../viewer/graphql/model/domain/Scenario.java | 51 ------
.../graphql/model/fetcher/BookmarkedPojo.java | 9 +-
.../model/registry/GraphQLTypeRegistry.java | 11 ++
.../model/toplevel/GqlvTopLevelMutation.java | 25 ++-
.../graphql/model/toplevel/GqlvTopLevelQuery.java | 39 +++--
.../viewer/test/e2e/query/Admin_IntegTest.java | 1 -
.../test/e2e/query/Calculator_IntegTest.java | 1 -
.../test/e2e/query/Department_IntegTest.java | 1 -
.../viewer/test/e2e/query/DeptHead_IntegTest.java | 1 -
.../viewer/test/e2e/query/Staff_IntegTest.java | 1 -
.../DepartmentMutating_IntegTest.java | 1 -
.../DeptHeadMutating_IntegTest.java | 3 +-
.../StaffMutating_IntegTest.java | 3 +-
...ing_IntegTest.java => _Mutating_IntegTest.java} | 38 ++---
.../e2e/scenario/Calculator_IntegTest.concat._.gql | 2 +-
.../Calculator_IntegTest.concat.approved.json | 14 ++
.../test/e2e/scenario/Calculator_IntegTest.java | 2 -
viewers/graphql/test/src/test/resources/schema.gql | 54 ++++++
.../integration/GraphQlSourceForCauseway.java | 11 +-
54 files changed, 589 insertions(+), 582 deletions(-)
rename
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvHolder.java
=> Parent.java} (97%)
delete mode 100644
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/Scenario.java
copy
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/query_and_mutations/{DepartmentMutating_IntegTest.java
=> _Mutating_IntegTest.java} (72%)
create mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/scenario/Calculator_IntegTest.concat.approved.json