Comments (8)
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.
Oh and finally, what features are missing as compared to graphql-dotnet/server
but also apollo server
.
from tanka-graphql.
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.
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.
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.
@joemcbride I have never known after read this issue. Thank you for your clarify 👍
from tanka-graphql.
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.
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)
- Fix nuget publish failing
- Release 3.0.0
- Release 1.0.0
- Release docs not updating HOT 1
- Release 2.0.0
- Use built in reconnect of SignalR js client
- Monorepo
- Split docs and package building
- Some of the release doc links point to beta docs
- Union types are not merged
- language: visitors HOT 1
- language: validation
- Update docs for 2.0.0
- Fix benchmarks on CI HOT 1
- Wrap imports into block string
- Dataloader https://github.com/graphql/dataloader HOT 1
- @specifiedBy HOT 1
- Apollo Federation docs
- Goals 3.0
- Initializing schema from SDL breaks when using scalar in Input Objects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tanka-graphql.