Dgraph Community Call on Aug 13, 2020

I don’t have a question, more of a request.

I am a noob in Auth, so please demonstrate Authentication & Authorization.

P.S. If possible, maybe with Firebase Auth as well.


A post was split to a new topic: How to manage Dgraph Cluster

I would like to see some real use-case of dgraph combined with GraphQL.
Use-case which involves some Logic beyond the autogenerated CRUD operation. Some examples are:

  • Connectors (graphql spec)
  • Integration with Middleware like Apollo and the implementation of custom queries and fields
  • Filter by nested node using Middleware like Apollo

2 posts were split to a new topic: Future of GraphQL± in relation to GraphQL

Can you guys record the meeting, and upload it to Youtube? I’d love to be around, but not 100% sure I can make it. :pensive:

  1. What is the timeline for integration with kafka? In the meantime what are the best practices for streaming data into dgraph?
  2. Is it possible to use the dgraph4j client to cancel a request after it’s been sent to the server? I’ve used the dgraph client with an interceptor and triggered a cancel that way, but I’m wondering if that actually cancels the query being run on the alpha.
  3. I’ve noticed that earlier versions of dgraph (e.g., v1.1.1) have significantly better performance with certain kinds of queries (eg, those with Type filters) than newer versions. What is the status of the Query Planner?
  1. Features and improvements planned for subscriptions
  2. Feature parity between GraphQL± and GraphQL, timeline for it
  3. Examples with authentication and boilerplate with real-life scenarions/basic features

ETA for implementing count on the graphql endpoint taking into consideration auth rules. I can count all using a DQL custom field but then that does not take into consideration any auth rules.

ETA for any kind of @math support in graphql Not requested yet, but a feature in DQL not in graphql mentioned in GraphQL+- -> Spec Compliant GraphQL

ETA on Cascade does not work with pagination

ETA on Does @withSubscription not work yet with @auth rules?

ETA on fixing Grandchild is not attached to Child when using addType

Idea about integrating Slash with Apollo Studio related to Integrating with Apollo Studio

How to best collaborate using Slash involving Share a back-end with multiple users and Collaboration on Schema in Slash and Schema backups and versioning

Any talk about the Upcoming Implement custom JS hooks in GraphQL

Any other upcoming plans on performance increases to increase speed and reduce memory usage. I understand these two don’t go together too well and are usually inversely related. Not saying it is horrible right now, but Memory requirements are through the roof compared to other non graph DBs.

1 Like

A post was split to a new topic: Timeline for JS based Custom Logic

Answering some questions here

This would be part of 20.07.1 release that goes out this month.

I can’t give you a clear ETA on this yet, but we’ll try to get it done in time for the 20.11.0 release.

A PR is up with the fix. It needs a bit more testing and should be ready to merge early next week.

We haven’t started working on this yet but will prioritize it. @vvbalaji

From the docs about Authorization at https://graphql.dgraph.io/doc/authorization/

Dgraph GraphQL deals with authorization, but is completely flexible about how your app does authentication. You could authenticate your users with a cloud service like OneGraph or Auth0, use some social sign in options, or write bespoke code. The connection between Dgraph and your authentication mechanism is a signed JWT - you tell Dgraph, for example, the public key of the JWT signer and Dgraph trusts JWTs signed by the corresponding private key.

Here is an end to end example where we show you can authenticate a user using Auth0 and use the JWT obtained there to do Authorization within Dgraph. https://graphql.dgraph.io/tutorials/todo-app-tutorial/todo-auth0-jwt/

1 Like

Yep I saw the documentation.

However I don’t want to use AuthO so I didn’t follow along. Maybe I’ll do it later if I don’t have a choice.

I put my request here, hoping to see a live demo. Maybe get some pointers on Firebase auth.

P.S. Even though I am good at following through documentation, with videos it’s much faster to orient myself and get a birds eye view of a concept faster!

4 posts were split to a new topic: Custom Subscription Support

Hi Dgraph Team, one question on GraphQL+ ; What are the current capabilities/future directions around control-flows, looping, turing completeness for the query language?

2 posts were split to a new topic: Any plans to build Distributed Badger DB

Kind of a meta question: I see that GitHub issues were retired recently and I’m curious to know what your experience with that has been. Pros? Cons?

1 Like

Here’s the discussion around the facets format change: Facets format in mutation requests and query responses

A post was split to a new topic: How to get Dgraph version information from client?

Ketan P from the call asked about us to create a comparison between Dgraph and Redis Graph. More product comparisons are in the pipeline, and we can include Redis next. But for now, you can see the other comparisons here: https://dgraph.io/compare-features