From 1778aa63a29d169f4dc02a8780fd75316c537831 Mon Sep 17 00:00:00 2001 From: "Joseph M. Pasque" Date: Mon, 17 Aug 2020 16:40:56 -0500 Subject: [PATCH] fix(property): No visibility for extension Expose both the Property class and the property field within the RequestEntity. Closes #114 --- .../main/java/io/aexp/nodes/graphql/GraphQLRequestEntity.java | 4 ++++ nodes/src/main/java/io/aexp/nodes/graphql/Property.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nodes/src/main/java/io/aexp/nodes/graphql/GraphQLRequestEntity.java b/nodes/src/main/java/io/aexp/nodes/graphql/GraphQLRequestEntity.java index a1d7386..ca3a254 100644 --- a/nodes/src/main/java/io/aexp/nodes/graphql/GraphQLRequestEntity.java +++ b/nodes/src/main/java/io/aexp/nodes/graphql/GraphQLRequestEntity.java @@ -87,6 +87,10 @@ public Map getVariables() { public List getScalars() { return scalars; } + + public Property getProperty() { + return property; + } public void setRequestMethod(GraphQLTemplate.GraphQLMethod requestMethod) { this.requestMethod = requestMethod; diff --git a/nodes/src/main/java/io/aexp/nodes/graphql/Property.java b/nodes/src/main/java/io/aexp/nodes/graphql/Property.java index 5952804..dc93815 100644 --- a/nodes/src/main/java/io/aexp/nodes/graphql/Property.java +++ b/nodes/src/main/java/io/aexp/nodes/graphql/Property.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; -final class Property { +public final class Property { private String resourceName; private GraphQLTemplate.GraphQLMethod method;