You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/01/26 13:07:39 UTC
(causeway) 02/03: CAUSEWAY-3676: wip, adding support for collection params (2)
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch CAUSEWAY-3676
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 07c3e1f08bb0fe1bfc8a1bbc0eb90cd58a287e5f
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jan 26 10:31:32 2024 +0000
CAUSEWAY-3676: wip, adding support for collection params (2)
---
.../test/e2e/Schema_IntegTest.schema.approved.json | 204 +++++++++++++++++++++
...chema_IntegTest.schema_types_name.approved.json | 6 +
2 files changed, 210 insertions(+)
diff --git a/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema.approved.json b/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema.approved.json
index 2d2e02c5c7..ba85c2457f 100644
--- a/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema.approved.json
+++ b/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema.approved.json
@@ -22726,6 +22726,17 @@
},
"isDeprecated" : false,
"deprecationReason" : null
+ }, {
+ "name" : "addStaffMembers",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
}, {
"name" : "removeStaffMember",
"description" : null,
@@ -22936,6 +22947,199 @@
"interfaces" : [ ],
"enumValues" : null,
"possibleTypes" : null
+ }, {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action",
+ "description" : null,
+ "fields" : [ {
+ "name" : "hidden",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "Boolean",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "disabled",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "String",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "validate",
+ "description" : null,
+ "args" : [ {
+ "name" : "staffMembers",
+ "description" : null,
+ "type" : {
+ "kind" : "LIST",
+ "name" : null,
+ "ofType" : {
+ "kind" : "INPUT_OBJECT",
+ "name" : "university_dept_StaffMember__gqlv_input",
+ "ofType" : null
+ }
+ },
+ "defaultValue" : null
+ } ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "String",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "invokeIdempotent",
+ "description" : null,
+ "args" : [ {
+ "name" : "staffMembers",
+ "description" : null,
+ "type" : {
+ "kind" : "LIST",
+ "name" : null,
+ "ofType" : {
+ "kind" : "INPUT_OBJECT",
+ "name" : "university_dept_StaffMember__gqlv_input",
+ "ofType" : null
+ }
+ },
+ "defaultValue" : null
+ } ],
+ "type" : {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "params",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action_params",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ } ],
+ "inputFields" : null,
+ "interfaces" : [ ],
+ "enumValues" : null,
+ "possibleTypes" : null
+ }, {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action_params",
+ "description" : null,
+ "fields" : [ {
+ "name" : "staffMembers",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__staffMembers__gqlv_action_parameter",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ } ],
+ "inputFields" : null,
+ "interfaces" : [ ],
+ "enumValues" : null,
+ "possibleTypes" : null
+ }, {
+ "kind" : "OBJECT",
+ "name" : "university_dept_Department__addStaffMembers__staffMembers__gqlv_action_parameter",
+ "description" : null,
+ "fields" : [ {
+ "name" : "hidden",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "Boolean",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "validity",
+ "description" : null,
+ "args" : [ {
+ "name" : "staffMembers",
+ "description" : null,
+ "type" : {
+ "kind" : "LIST",
+ "name" : null,
+ "ofType" : {
+ "kind" : "INPUT_OBJECT",
+ "name" : "university_dept_StaffMember__gqlv_input",
+ "ofType" : null
+ }
+ },
+ "defaultValue" : null
+ } ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "String",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "choices",
+ "description" : null,
+ "args" : [ ],
+ "type" : {
+ "kind" : "LIST",
+ "name" : null,
+ "ofType" : {
+ "kind" : "OBJECT",
+ "name" : "university_dept_StaffMember",
+ "ofType" : null
+ }
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ }, {
+ "name" : "disabled",
+ "description" : null,
+ "args" : [ {
+ "name" : "staffMembers",
+ "description" : null,
+ "type" : {
+ "kind" : "LIST",
+ "name" : null,
+ "ofType" : {
+ "kind" : "INPUT_OBJECT",
+ "name" : "university_dept_StaffMember__gqlv_input",
+ "ofType" : null
+ }
+ },
+ "defaultValue" : null
+ } ],
+ "type" : {
+ "kind" : "SCALAR",
+ "name" : "String",
+ "ofType" : null
+ },
+ "isDeprecated" : false,
+ "deprecationReason" : null
+ } ],
+ "inputFields" : null,
+ "interfaces" : [ ],
+ "enumValues" : null,
+ "possibleTypes" : null
}, {
"kind" : "OBJECT",
"name" : "university_dept_Department__changeDeptHead__gqlv_action",
diff --git a/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema_types_name.approved.json b/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema_types_name.approved.json
index dbe0d17065..08c8bc031a 100644
--- a/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema_types_name.approved.json
+++ b/incubator/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/Schema_IntegTest.schema_types_name.approved.json
@@ -767,6 +767,12 @@
"name" : "university_dept_Department__addStaffMember__gqlv_action_params"
}, {
"name" : "university_dept_Department__addStaffMember__staffMember__gqlv_action_parameter"
+ }, {
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action"
+ }, {
+ "name" : "university_dept_Department__addStaffMembers__gqlv_action_params"
+ }, {
+ "name" : "university_dept_Department__addStaffMembers__staffMembers__gqlv_action_parameter"
}, {
"name" : "university_dept_Department__changeDeptHead__gqlv_action"
}, {