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/19 11:58:03 UTC
(causeway) 08/11: CAUSEWAY-3676: wip to considolate gqlvObjectSpec's two declarations of gqlObjectType (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 109d62ddec338594296d8d2d97210471419ee822
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jan 19 11:43:46 2024 +0000
CAUSEWAY-3676: wip to considolate gqlvObjectSpec's two declarations of gqlObjectType (2)
---
.../apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
index c763b7a9d6..779bb518f0 100644
--- a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
+++ b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
@@ -145,7 +145,7 @@ public class ObjectTypeFactory {
// build and register object type
GraphQLObjectType graphQLObjectType = gqlvObjectSpec.getGqlObjectTypeBuilder().name(gqlvObjectSpec.getLogicalTypeNameSanitized()).build();
- graphQLTypeRegistry.addTypeIfNotAlreadyPresent(graphQLObjectType, gqlvObjectSpec.getLogicalTypeNameSanitized());
+ graphQLTypeRegistry.addTypeIfNotAlreadyPresent(graphQLObjectType);
// create and register data fetchers