graphql-gun icon indicating copy to clipboard operation
graphql-gun copied to clipboard

Graphql-gun as a graphql server for Gundb.

Open ansarizafar opened this issue 7 years ago • 3 comments

First of all thanks for creating this amazing project. Traditional databases are hard to manage/scale and Gun is a new hope for javascript/Nodejs developers but out of the box Gun doesn't provide important features, required for a web application.

Graphql-gun can fill this gap If it can provide these required features like query filtering, paging, sorting. grouping/aggregation, mutations, authentication/authorization and data hooks. I am very much interested to know is it possible to build these features with graphql-gun?

ansarizafar avatar Sep 10 '18 04:09 ansarizafar

Authentication is now pretty good in GUN with SEA, check out the tutorial I just published a few days ago: https://gun.eco/docs/Todo-Dapp ! Bryan has already done a really good job matching GraphQL up with GUN that SEA (auth/auth) should automatically work with GraphQL as well, no changes needed!

Other things like query filtering, paging, sorting, etc. should probably be done by a gun extension, unless GraphQL has specs for this - even if it does, modular pieces probably better.

amark avatar Sep 26 '18 00:09 amark

I would consider supporting custom resolvers @ansarizafar but would need a PR for it

brysgo avatar Sep 28 '18 22:09 brysgo

Other things like query filtering, paging, sorting, etc. should probably be done by a gun extension, unless GraphQL has specs for this - even if it does, modular pieces probably better.

@amark @brysgo Is a Gun extension is available to provide these features now?

ansarizafar avatar Jul 27 '21 10:07 ansarizafar