Comments (4)
@thosakwe, thanks for the info!
I'll add your packages to the users list in the readme.
from gql.
Hi @thosakwe,
I am aware of your work on graphql_parser
and I've taken a tiny bit of inspiration from it. To be fair, I've noticed that it's docs are highly misleading as it is not compatible with the latest GraphQL spec and it is not implementing the Visitor Pattern (as suggested in readme file).
This project really started as my pet project to better understand GraphQL spec, but it unexpectedly grew into the most up-to-spec GraphQL parser for Dart ecosystem. So I had to share my work.
Due to it's current state and our different approaches in source parsing, I do not really see how my work can benefit your's other than to replace it as a major version update.
My goal is to make it easy to write tooling for GraphQL so my focus is on parsing, transformation and printing (validation coming up later). I am not interested in execution of GraphQL Documents.
If you are interested in taking your packages to the latest version of the GraphQL spec, consider using this parser. Feel free to contribute by filing issues and creating Pull Requests.
My current plan is to improve test coverage. After that is done, I'll publish 0.1.0
version.
from gql.
Ah, I see what you mean now. graphql_parser
is not misleading in its docs (it is up to date with the June 2018 spec), it's just that it only parses queries - not the schema language (because it expects these to be defined in Dart). There's also no explicit mention of the visitor pattern, but the AST visiting logic was actually moved to graphql_server
. So "misleading" isn't exactly the word I would use.
But I understand. Good luck with this project. No hard feelings.
from gql.
As of version 2.0.0-beta
, both graphql_server
and angel_graphql
are using the package:gql
parser. I intend to deprecate graphql_parser
entirely.
https://pub.dev/packages/graphql_server/versions/2.0.0-beta
from gql.
Related Issues (20)
- [graphql_transport_ws] The new subprotocol doesn't auto-reconnect HOT 2
- OperationException(linkException: ResponseFormatException(originalException: type 'Null' is not a subtype of type 'String' in type cast HOT 1
- [Begging for support] Can the url be transformed? HOT 2
- [Support request] How can the client complete a subscription HOT 1
- [gql_websocket_link] Crash events on host lookup HOT 3
- LinkException as a sealed class HOT 2
- [WebSocketLink] inactivityTimeout causes a reconnect HOT 5
- More maintainers wanted
- gql_code_builder: allow adding custom builder factories for nested collections
- [gql_websocket_link] uuid package version conflict HOT 1
- [Question] Dio interceptor with retry not triggered when timeout() is invoked HOT 5
- dependencies issue HOT 1
- FR: Dynamic header HOT 1
- Issue with - distinguishing between null and absent values HOT 3
- How to make reconnect TransportWebSocketLink(TransportWsClientOptions())
- [BUG] Printer fails with string blocks HOT 5
- Type exception in gql_websocket_link with decoding incoming messages. HOT 1
- extract serializers from gql_code_builder to another package
- how to set headers in first http1.1 request before connection upgrade for TransportWebSocketLink?
- Random ServerException HOT 3
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 gql.