holm0563 / graphql-schemagenerator Goto Github PK
View Code? Open in Web Editor NEWGraph Ql Schema Generator - Use existing c# model to generate graph ql
License: MIT License
Graph Ql Schema Generator - Use existing c# model to generate graph ql
License: MIT License
Hello,
I am unable to find the nuget package for this project. Is the package published?
Thanks,
Harsimran
When I use with ASP .Net core I get below error. (HTML file is attached in zip for better readability)
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found: 'GraphQL.Types.FieldType GraphQL.Types.ComplexGraphType1.FieldAsync(System.Type, System.String, System.String, GraphQL.Types.QueryArguments, System.Func
2<GraphQL.Types.ResolveFieldContext`1<!0>,System.Object>, System.String)'.
GraphQL.SchemaGenerator.SchemaGenerator.CreateSchema(IEnumerable definitions) in SchemaGenerator.cs, line 148
Stack Query Cookies Headers
MissingMethodException: Method not found: 'GraphQL.Types.FieldType GraphQL.Types.ComplexGraphType1.FieldAsync(System.Type, System.String, System.String, GraphQL.Types.QueryArguments, System.Func
2<GraphQL.Types.ResolveFieldContext`1<!0>,System.Object>, System.String)'.
GraphQL.SchemaGenerator.SchemaGenerator.CreateSchema(IEnumerable definitions) in SchemaGenerator.cs
+
}
GraphQL.SchemaGenerator.SchemaGenerator.CreateSchema(Type[] types) in SchemaGenerator.cs
+
return CreateSchema(CreateDefinitions(types));
sampleprojectweb.Controllers.GraphQLController.Post(GraphQLQuery query) in GraphQLController.cs
+
var schema = schemaGenerator.CreateSchema(typeof(GraphRoot));
Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask.get_Result()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Show raw exception details
GraphQL Issue.zip
This is a reopened version of issue #4 since this is still not working correctly. I have no clue what is going on so it would be awesome to get a working example.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.