diff --git a/GraphQL-Core/CSharpClassBuilder.cs b/GraphQL-Core/CSharpClassBuilder.cs index 4da16fd..f060f52 100644 --- a/GraphQL-Core/CSharpClassBuilder.cs +++ b/GraphQL-Core/CSharpClassBuilder.cs @@ -12,14 +12,14 @@ namespace GraphQLCore /// public static class GraphQLCoreTypeWrapperGenerator { - internal static AssemblyBuilder asmBuilder = AssemblyBuilder.DefineDynamicAssembly(CreateDynamicAssemblyName(), AssemblyBuilderAccess.Run); - internal static ModuleBuilder mdBuilder = null; - internal static string typeNameAppend = "GQLCoreTypeWrapper"; - internal static string asmNameAppend = "._Hidden_GraphQLCoreDynamicTypes"; - internal static string mdName = "GraphQLCoreDynamic"; - internal static Dictionary genericTypeParentClasses = new Dictionary(); + public static AssemblyBuilder asmBuilder = AssemblyBuilder.DefineDynamicAssembly(CreateDynamicAssemblyName(), AssemblyBuilderAccess.Run); + private static ModuleBuilder mdBuilder = null; + private static string typeNameAppend = "GQLCoreTypeWrapper"; + private static string asmNameAppend = "._Hidden_GraphQLCoreDynamicTypes"; + private static string mdName = "GraphQLCoreDynamic"; + private static Dictionary genericTypeParentClasses = new Dictionary(); - internal static Type CreateGraphQLTypeWrapper() + public static Type CreateGraphQLTypeWrapper() { if (genericTypeParentClasses.ContainsKey(typeof(GenericType))) return genericTypeParentClasses[typeof(GenericType)]; @@ -34,7 +34,7 @@ internal static Type CreateGraphQLTypeWrapper() return type; } - internal static Type GetDerivedGenericUserType() + public static Type GetDerivedGenericUserType() { if(genericTypeParentClasses.ContainsKey(typeof(T))) return genericTypeParentClasses[typeof(T)]; @@ -42,7 +42,7 @@ internal static Type GetDerivedGenericUserType() return null; } - internal static Type GetDerivedGenericUserType(this Type T) + public static Type GetDerivedGenericUserType(this Type T) { if (genericTypeParentClasses.ContainsKey(T)) return genericTypeParentClasses[T]; diff --git a/GraphQL-Core/Extensions/GraphQLExtensions.cs b/GraphQL-Core/Extensions/GraphQLExtensions.cs index de817cf..f90853f 100644 --- a/GraphQL-Core/Extensions/GraphQLExtensions.cs +++ b/GraphQL-Core/Extensions/GraphQLExtensions.cs @@ -17,7 +17,7 @@ public static class GraphQLExtensions /// /// The C# Type to convert /// An appropriate GraphQL.NET Type - internal static Type ConvertToGraphQLType(this Type cSharpType) + public static Type ConvertToGraphQLType(this Type cSharpType) { Type returnType; if (false diff --git a/GraphQL-Core/Schemas/Schemas.cs b/GraphQL-Core/Schemas/Schemas.cs index 966248a..878f5e4 100644 --- a/GraphQL-Core/Schemas/Schemas.cs +++ b/GraphQL-Core/Schemas/Schemas.cs @@ -7,7 +7,7 @@ namespace GraphQLCore.Schemas /// /// Interface tag for GraphQLCore Schemas /// - internal interface IGraphQLGenericSchema { } + public interface IGraphQLGenericSchema { } /// /// Schema which will be used to combine all user-provided queries diff --git a/GraphQL-Core/Types/Types.cs b/GraphQL-Core/Types/Types.cs index fff78af..8ad83ea 100644 --- a/GraphQL-Core/Types/Types.cs +++ b/GraphQL-Core/Types/Types.cs @@ -7,7 +7,7 @@ namespace GraphQLCore.Types /// /// Interface tag for GraphQLCore Types /// - internal interface IGraphQLGenericType { } + public interface IGraphQLGenericType { } /// /// Acts a container for user-defined model fields for a GraphQL Type