It would be nice if a basic test server in whatever language could be added to the repo.
It would help me with seeing what the Dart code expects to get from the server and also see patterns of usage.
You can implement a GraphQL server in Dart with: https://github.com/angel-dart/graphql/tree/master/graphql_parser
The documentation is lacking, to be honest, but there's a directory with an example app + GraphiQL.
thanks @thosakwe !! I have been using golang based graphql server, but a dart one is a nice surprise.
I made an npm package starwars-test-graphql-server for this, and want to use it for bootstrapping the example into some kind of starwars-schema-based TODOMVP equivalent for graphql clients
It would naturally be best to have an actual dart server that fits more naturally with the workflow, but function first IMO
There's https://github.com/angel-dart/graphql (Dart server), but it's not yet complete (will be by the release of Angel 2.0).
@thosakwe congrats on reaching 2.0! A self-contained / runnable example server built with Angel and backed with static data would definitely be the ideal solution here. If you don't end up publishing one yourself I'll probably figure out how to bundle your starwars example (basically what I did with starwars-test-graphql-server)
Yes, the Star Wars example is the example server you’re looking for. I will
officially release Angel 2 this weekend, and by then, I’ll be sure to
finish the documentation, and make a tutorial video.
On Thu, Apr 11, 2019 at 1:57 PM Michael Joseph Rosenthal <
[email protected]> wrote:
@thosakwe https://github.com/thosakwe congrats on reaching 2.0! A
self-contained / runnable example server built with Angel and backed with
static data would definitely be the ideal solution here. If you don't end
up publishing one yourself I'll probably figure out how to bundle your starwars
example
https://github.com/angel-dart/graphql/blob/master/example_star_wars/lib/star_wars.dart
(basically what I did with starwars-test-graphql-server)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zino-app/graphql-flutter/issues/55#issuecomment-482227279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJiKPJqLHOl9pXTGivLDqQwui_Qb8e5uks5vf3eagaJpZM4V4BKE
.
closed with #286 and https://github.com/micimize/angel-starwars-test-server