Seed: How to Graphql?

Created on 23 Mar 2020  路  7Comments  路  Source: seed-rs/seed

I'm new to Rust and Seed (amazing project!).

I'm wondering if there is something "similar to" or useful "to use" for https://github.com/apollographql/apollo-client.

I need to use Graphql, how to?

question

Most helpful comment

I've created a GraphQL example:
graphql_example

All 7 comments

There are some GraphQL libs but I didn't have a reason to write an example - until now.
So.. what does I need to use Graphql mean? I.e. how would like to use it / what backend do you have?

My backend is Graphql (apollo server).

I've created a GraphQL example:
graphql_example

I'm glad you like it.

This example uses graphql-client. There are some cache-related issues - https://github.com/graphql-rust/graphql-client/issues/34 and https://github.com/graphql-rust/graphql-client/issues/89.
Also graphql-client is a project from graphql-rust org with active development on many projects so I assume there will be cache support in the future.

I've done some little contributions to Elm and Elixir GraphQL libs but I don't have too much experience with it. If you have time you can help graphql-client's creators or at least add comments into their issues so they know what their users want.

Or if you think we should write a cache layer specific for Seed, please create a new issue / proposal.

@frederikhors If you think your original question How to Graphql? has been answered, please close the issue. If you have some other questions or something about the example isn't clear / some Rust things don't make sense to you - you can write on our chat or forum.

I hope the question has been answered.
No response for a week, closing,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jgrund picture jgrund  路  6Comments

TatriX picture TatriX  路  4Comments

FliegendeWurst picture FliegendeWurst  路  3Comments

Type1J picture Type1J  路  6Comments

MartinKavik picture MartinKavik  路  4Comments