GithubHelp home page GithubHelp logo

Comments (8)

joemcbride avatar joemcbride commented on September 4, 2024 1

Writing the schema in .gql files seems to be the way the community has gone down and actually recommends. Unfortunately, graphql-dotnet doesn't seem to have that support.

It does, it was added in 2.0. See “Schema First Approach” in the introduction. https://graphql-dotnet.github.io/docs/getting-started/introduction

from tanka-graphql.

RehanSaeed avatar RehanSaeed commented on September 4, 2024

Oh and finally, what features are missing as compared to graphql-dotnet/server but also apollo server.

from tanka-graphql.

pekkah avatar pekkah commented on September 4, 2024

Note that this is not a fork and was started from scratch because I wanted something simple without legacy pressure. First it was just a experiment to understand the graphql spec more closely but quickly became whole project of its own. It's not meant to compete with graphql-dotnet. I'm also trying to keep it more as an library instead of offering everything out of the box. I make no guarantees on backwards compatibility at least until version 1.0.

from tanka-graphql.

RehanSaeed avatar RehanSaeed commented on September 4, 2024

Writing the schema in .gql files seems to be the way the community has gone down and actually recommends. Unfortunately, graphql-dotnet doesn't seem to have that support. Having the schema, has some other advantages, in that you get VS-Code Apollo extension support etc. too, along with their GitHub bot to check for breaking changes. Also, it would be easier for people to learn because it aligns much more closely with other GraphQL implementations.

Could the learnings from this project, specifically the Signal-R bits and schema first approach be applied to graphql-dotnet?

It's certainly interesting and something I'll keep an eye on.

from tanka-graphql.

RehanSaeed avatar RehanSaeed commented on September 4, 2024

I forgot that existed! I suppose I forgot because it's not clear to me how to use the schema first approach using the ASP.NET Core server bits. If I get some time, I'll see if I can investigate.

from tanka-graphql.

thangchung avatar thangchung commented on September 4, 2024

@joemcbride I have never known after read this issue. Thank you for your clarify 👍

from tanka-graphql.

pekkah avatar pekkah commented on September 4, 2024

To see the differences in action go to https://github.com/pekkah/tanka-graphql-samples

  • schema stitching/splitting /manipulation
  • jwt based authentication
    Etc.

from tanka-graphql.

pekkah avatar pekkah commented on September 4, 2024

One new feature coming up in 2.0.0 is a new parser using Span which improves the performance by both being faster and allocating less. It's compatible with current GraphQL draft specification.

from tanka-graphql.

Related Issues (20)

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.