Giter Site home page Giter Site logo

wireduk / graphity Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 5.0 854 KB

A .NET Core library that exposes a DbContext as a GraphQL endpoint with zero configuration.

License: GNU General Public License v3.0

C# 99.97% Batchfile 0.03%
dotnet-core entity-framework entity-framework-core graphql

graphity's Introduction

Well hello there, thanks for stopping by!

My name is David and I have many hats. They include software engineer, geek, skeptic, Skeptics in the Pub Online organiser, somehow an Ockham Award winner, and escape room enthusiast. I love to help people, which is why I am somehow in the top 0.14% on Stack Overflow.

I'd love to hear if you ever use any of my code, please drop me a message if you do!

My pronouns are he/him.

Find me on:

graphity's People

Contributors

wireduk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

graphity's Issues

Entities with byte properties aren't getting registered.

My DBContext contains an entity with a byte property.

public class MyEntity { public byte Size {get;set;} }

After registering the services, when I try to hit the api/graph endpoint I get the following error:

GraphQL.ExecutionError: No service for type 'Graphity.DynamicObjectGraphType`2[MyDataContext,System.Byte]' has been registered.

Getting GraphQL.ExecutionError when trying to access the endpoint

Hi,

First of all, thank you for the library as I wanted to write one myself after a painful experience with ef core and graphql; so you saved me a lot of time! I followed your instructions and I'm getting the following error once I try to access the endpoint using GraphiQL, the exception throws without executing a query. Just switching the GraphiQL tab which executes the schema request I assume. Thanks!

grafik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.