From 32404f59d616e317514eee7c3401b5fba5e21096 Mon Sep 17 00:00:00 2001 From: Tommi Leinamo Date: Fri, 5 Jul 2024 17:35:53 +0300 Subject: [PATCH] remove unimplemented relations from GraphQL definitions for now --- .../types/InfoSpotObjectTypeCreator.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/rutebanken/tiamat/rest/graphql/types/InfoSpotObjectTypeCreator.java b/src/main/java/org/rutebanken/tiamat/rest/graphql/types/InfoSpotObjectTypeCreator.java index 29b82aae9..5520b8223 100644 --- a/src/main/java/org/rutebanken/tiamat/rest/graphql/types/InfoSpotObjectTypeCreator.java +++ b/src/main/java/org/rutebanken/tiamat/rest/graphql/types/InfoSpotObjectTypeCreator.java @@ -134,12 +134,12 @@ public GraphQLObjectType createObjectType(GraphQLInterfaceType stopPlaceInterfac .field(newFieldDefinition() .name(DISPLAY_TYPE) .type(displayTypeEnum)) - .field(newFieldDefinition() - .name(POSTER) - .type(new GraphQLList(posterObjectType))) - .field(newFieldDefinition() - .name(ON_STOP_PLACE) - .type(new GraphQLList(GraphQLString))) +// .field(newFieldDefinition() +// .name(POSTER) +// .type(new GraphQLList(posterObjectType))) +// .field(newFieldDefinition() +// .name(ON_STOP_PLACE) +// .type(new GraphQLList(GraphQLString))) .build(); } @@ -186,12 +186,12 @@ public GraphQLInputObjectType createInputObjectType(GraphQLInputObjectType valid .field(newInputObjectField() .name(DISPLAY_TYPE) .type(displayTypeEnum)) - .field(newInputObjectField() - .name(POSTER) - .type(new GraphQLList(posterObjectType))) - .field(newInputObjectField() - .name(ON_STOP_PLACE) - .type(new GraphQLList(GraphQLString))) +// .field(newInputObjectField() +// .name(POSTER) +// .type(new GraphQLList(posterObjectType))) +// .field(newInputObjectField() +// .name(ON_STOP_PLACE) +// .type(new GraphQLList(GraphQLString))) .build(); }