# Dev

**URL:** https://discuss.dgraph.io/c/dev/29.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [About the Dev category](https://discuss.dgraph.io/t/about-the-dev-category/7033)

<div class="topic-metadata">

**Author:** [@mrjn](https://discuss.dgraph.io/u/mrjn)\
**Replies:** 0

</div>

Anything related to Dgraph development. If there is some sensitive information, move topic to dev\>internal.

---

## [Union types in GraphQL](https://discuss.dgraph.io/t/union-types-in-graphql/9581)

<div class="topic-metadata">

**Author:** [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Replies:** 12\
**Last updated:** [December 14, 2024, 7:27am UTC](https://discuss.dgraph.io/t/union-types-in-graphql/9581 "2024-12-14T07:27:42Z")

</div>

Motivation Support union types in GraphQL as specified in the GraphQL spec. User Impact Users will now be able to able to use unions with our GraphQL. It will enhance the user experience. Implementation Introducti…

---

## [Adding Stale Action to Our Repos](https://discuss.dgraph.io/t/adding-stale-action-to-our-repos/19414)

<div class="topic-metadata">

**Author:** [@rft](https://discuss.dgraph.io/u/rft)\
**Replies:** 6\
**Last updated:** [July 17, 2024, 2:19pm UTC](https://discuss.dgraph.io/t/adding-stale-action-to-our-repos/19414 "2024-07-17T14:19:15Z")

</div>

In our ongoing efforts to improve the experience of developers contributing to Dgraph, Badger, Ristretto, clients, and related projects, we’re introducing GitHub’s Stale Action across the repos. This action will run nig…

---

## [RFC: Nested Filters in GraphQL](https://discuss.dgraph.io/t/rfc-nested-filters-in-graphql/13560)

<div class="topic-metadata">

**Author:** [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Replies:** 39\
**Last updated:** [March 31, 2024, 11:48am UTC](https://discuss.dgraph.io/t/rfc-nested-filters-in-graphql/13560 "2024-03-31T11:48:49Z")

</div>

Motivation There are many requests from the community to add nested filters in GraphQL and it’s also one of the feature which can add more flexibility and value in our GraphQL implementation. Nested Filters like below…

---

## [GraphQL+- -\> Spec Compliant GraphQL](https://discuss.dgraph.io/t/graphql-spec-compliant-graphql/5891)

<div class="topic-metadata">

**Author:** [@michaelcompton](https://discuss.dgraph.io/u/michaelcompton)\
**Replies:** 13\
**Last updated:** [February 13, 2024, 12:49am UTC](https://discuss.dgraph.io/t/graphql-spec-compliant-graphql/5891 "2024-02-13T00:49:28Z")

</div>

What’s missing from Dgraph in the GraphQL API These are things that can be done in ±, but don’t have an equiv in our GraphQL. Order is the order you find them by scrolling through the docs. I’ve annotated with e : easy…

---

## [Sentry Integration With Dgraph](https://discuss.dgraph.io/t/sentry-integration-with-dgraph/6540)

<div class="topic-metadata">

**Author:** [@Paras](https://discuss.dgraph.io/u/Paras)\
**Replies:** 5\
**Last updated:** [October 13, 2023, 6:02pm UTC](https://discuss.dgraph.io/t/sentry-integration-with-dgraph/6540 "2023-10-13T18:02:13Z")

</div>

What is Sentry? Sentry is a powerful service that allows applications to send arbitrary events, messages, exceptions, bread-crumbs (logs) to your sentry account. In simplest terms, it is a dial-home service but also has …

---

## [Transactions in GraphQL](https://discuss.dgraph.io/t/transactions-in-graphql/6861)

<div class="topic-metadata">

**Author:** [@arijit](https://discuss.dgraph.io/u/arijit)\
**Replies:** 27\
**Last updated:** [September 1, 2022, 10:23am UTC](https://discuss.dgraph.io/t/transactions-in-graphql/6861 "2022-09-01T10:23:21Z")

</div>

Running multiple GraphQL mutations concurrently can cause transaction abort. This post proposes a way to deal with it. Background Every GraphQL mutation starts a new transaction. A mutation is done via an upsert query, …

---

## [\[RFC\] GraphQL API for long-running tasks](https://discuss.dgraph.io/t/rfc-graphql-api-for-long-running-tasks/10634)

<div class="topic-metadata">

**Author:** [@ajeet](https://discuss.dgraph.io/u/ajeet)\
**Replies:** 6\
**Last updated:** [December 30, 2021, 8:16am UTC](https://discuss.dgraph.io/t/rfc-graphql-api-for-long-running-tasks/10634 "2021-12-30T08:16:30Z")

</div>

Motivation Dgraph’s current backup/export API makes the user wait until the whole operation is complete. While this synchronous behaviour is great for smaller databases, it times out if it takes longer than 10 minutes; a…

---

## [Benchmarking GraphQL performance](https://discuss.dgraph.io/t/benchmarking-graphql-performance/7310)

<div class="topic-metadata">

**Author:** [@pawan](https://discuss.dgraph.io/u/pawan)\
**Replies:** 10\
**Last updated:** [October 20, 2021, 8:11pm UTC](https://discuss.dgraph.io/t/benchmarking-graphql-performance/7310 "2021-10-20T20:11:36Z")

</div>

We want to Measure GraphQL query/mutation performance and see if there are bits of code that we can improve. We would also like to see what is the overhead being added by query rewriting and processing apart from the t…

---

## [Authentication for admin endpoints](https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786)

<div class="topic-metadata">

**Author:** [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Replies:** 10\
**Last updated:** [October 11, 2021, 4:40pm UTC](https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786 "2021-10-11T16:40:09Z")

</div>

Starting with this PR, all the admin endpoints now require three kinds of auth: IP White-listing, if --whitelist flag is passed to alpha. Poor-man’s auth, if --auth\_token flag is passed to alpha (means you will need t…

---

## [Nested sorting mapped to var](https://discuss.dgraph.io/t/nested-sorting-mapped-to-var/7362)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 3:29pm UTC](https://discuss.dgraph.io/t/nested-sorting-mapped-to-var/7362 "2021-08-31T15:29:44Z")

</div>

qq @Anurag (as you worked on k-path) @Ashish @pawan Some context How to store ordered data? - #4 by MichelDiz if needed. k shortest path also has this very same structure Considering this structure taken from a re…

---

## [How to create cherry-pick 🍒 PRs into release branches](https://discuss.dgraph.io/t/how-to-create-cherry-pick-prs-into-release-branches/6785)

<div class="topic-metadata">

**Author:** [@dmai](https://discuss.dgraph.io/u/dmai)\
**Replies:** 2\
**Last updated:** [August 8, 2021, 3:33am UTC](https://discuss.dgraph.io/t/how-to-create-cherry-pick-prs-into-release-branches/6785 "2021-08-08T03:33:01Z")

</div>

Official Dgraph releases are created from the following branches: release/v20.03: Code for v20.03.0 and further patch releases v20.03.1, v20.03.2, and so on. release/v20.07: Code for v20.07.0 and further patch releases…

---

## [WIP: Auth rules custom DQL query](https://discuss.dgraph.io/t/wip-auth-rules-custom-dql-query/13926)

<div class="topic-metadata">

**Author:** [@minhaj](https://discuss.dgraph.io/u/minhaj)\
**Replies:** 7\
**Last updated:** [August 4, 2021, 9:49pm UTC](https://discuss.dgraph.io/t/wip-auth-rules-custom-dql-query/13926 "2021-08-04T21:49:31Z")

</div>

Motivation Support for @auth rules with @custom DQL query. User Impact Users will now be able to use @auth rules provided in the Graphql schema with @custom DQL queries also. This will be a major feature in the @custom …

---

## [Santa wish list for Dgraph in 2021](https://discuss.dgraph.io/t/santa-wish-list-for-dgraph-in-2021/12070)

<div class="topic-metadata">

**Author:** [@mrjn](https://discuss.dgraph.io/u/mrjn)\
**Replies:** 25\
**Last updated:** [July 20, 2021, 4:52pm UTC](https://discuss.dgraph.io/t/santa-wish-list-for-dgraph-in-2021/12070 "2021-07-20T16:52:26Z")

</div>

Let’s use this thread to determine what features we’d like to see in Dgraph in 2021. I’ll start: Multi Tenancy Change Data Capture Integration with Kafka Ability to load data directly from SQL to Dgraph Cloud offerings …

---

## [Defer Field Selection in Custom DQL Query](https://discuss.dgraph.io/t/defer-field-selection-in-custom-dql-query/13300)

<div class="topic-metadata">

**Author:** [@minhaj](https://discuss.dgraph.io/u/minhaj)\
**Replies:** 6\
**Last updated:** [July 19, 2021, 5:06pm UTC](https://discuss.dgraph.io/t/defer-field-selection-in-custom-dql-query/13300 "2021-07-19T17:06:08Z")

</div>

Motivation Currently, when we define any custom DQL query in the GraphQL schema, we have to explicitly define the fields. This results in over-fetching the data from the Dgraph if the selection set of the GraphQL query i…

---

## [Setting up CDC with AWS MSK in Dgraph Cloud](https://discuss.dgraph.io/t/setting-up-cdc-with-aws-msk-in-dgraph-cloud/14956)

<div class="topic-metadata">

**Author:** [@Ashish\_Gupta](https://discuss.dgraph.io/u/Ashish_Gupta)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 5:28pm UTC](https://discuss.dgraph.io/t/setting-up-cdc-with-aws-msk-in-dgraph-cloud/14956 "2021-07-14T17:28:33Z")

</div>

This document covers the steps to set up AWS MSK in your own AWS account to receive change data capture (CDC) events from your dedicated Dgraph Cloud backend. This document is a tailored and abridged version of the AWS …

---

## [How GraphQL would work with Multi-tenancy](https://discuss.dgraph.io/t/how-graphql-would-work-with-multi-tenancy/12481)

<div class="topic-metadata">

**Author:** [@pawan](https://discuss.dgraph.io/u/pawan)\
**Replies:** 2\
**Last updated:** [July 9, 2021, 11:50am UTC](https://discuss.dgraph.io/t/how-graphql-would-work-with-multi-tenancy/12481 "2021-07-09T11:50:25Z")

</div>

Let’s look at how GraphQL endpoints would work along with multi-tenancy. Users usually start with supplying a GraphQL schema from which we generate an API for them. Schema Updates What happens when user updates the sche…

---

## [Facets in GraphQL](https://discuss.dgraph.io/t/facets-in-graphql/10429)

<div class="topic-metadata">

**Author:** [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Replies:** 35\
**Last updated:** [July 6, 2021, 3:17pm UTC](https://discuss.dgraph.io/t/facets-in-graphql/10429 "2021-07-06T15:17:23Z")

</div>

Motivation Add native support for @facets in GraphQL User Impact Users will now be able to mutate and query facets in GraphQL. Implementation 1. Scalar type Person { name: String! petClose: Boolean @facet(field…

---

## [Webhook (Lambda) on add/update/delete mutations](https://discuss.dgraph.io/t/webhook-lambda-on-add-update-delete-mutations/12904)

<div class="topic-metadata">

**Author:** [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Replies:** 10\
**Last updated:** [June 22, 2021, 2:54pm UTC](https://discuss.dgraph.io/t/webhook-lambda-on-add-update-delete-mutations/12904 "2021-06-22T14:54:54Z")

</div>

Motivation Users of Dgraph’s auto-generated GraphQL CRUD API, use the auto-generated mutations from the client-side to mutate(add/update/delete) data in the DB. Once the data has been mutated in the DB, they often wan…

---

## [Promise a nested block (under construction - I'm still working in the use case)](https://discuss.dgraph.io/t/promise-a-nested-block-under-construction-im-still-working-in-the-use-case/5175)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 10\
**Last updated:** [June 15, 2021, 8:30pm UTC](https://discuss.dgraph.io/t/promise-a-nested-block-under-construction-im-still-working-in-the-use-case/5175 "2021-06-15T20:30:15Z")

</div>

Update: I have opened this for open source discussion. And as I didn’t finish my use cases. Others could read this, fix my thoughts or add more use cases. Use case 1 1 - Selecting films to which these directors have p…

---

## [\[RFC\] TF-IDF scoring for fulltext search in Dgraph](https://discuss.dgraph.io/t/rfc-tf-idf-scoring-for-fulltext-search-in-dgraph/14090)

<div class="topic-metadata">

**Author:** [@ajeet](https://discuss.dgraph.io/u/ajeet)\
**Replies:** 6\
**Last updated:** [June 3, 2021, 8:51am UTC](https://discuss.dgraph.io/t/rfc-tf-idf-scoring-for-fulltext-search-in-dgraph/14090 "2021-06-03T08:51:49Z")

</div>

Motivation Dgraph already supports fulltext search via the DQL function anyoftext, but it does not currently expose a score to the user. It would be very useful for anyone building search functionality on top of Dgraph t…

---

## [Support JSON-LD in Dgraph](https://discuss.dgraph.io/t/support-json-ld-in-dgraph/7162)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 2\
**Last updated:** [May 16, 2021, 5:07am UTC](https://discuss.dgraph.io/t/support-json-ld-in-dgraph/7162 "2021-05-16T05:07:36Z")

</div>

Internet media type: application/ld+json Motivation There was the intention to provide support for JSON-LD in the past. But while we have support for standard JSON, JSON-LD has been pushed aside. JSON-LD is used as…

---

## [Dgraph Software Project Owners and SMEs](https://discuss.dgraph.io/t/dgraph-software-project-owners-and-smes/10513)

<div class="topic-metadata">

**Author:** [@chewxy](https://discuss.dgraph.io/u/chewxy)\
**Replies:** 0\
**Last updated:** [September 22, 2020, 10:10am UTC](https://discuss.dgraph.io/t/dgraph-software-project-owners-and-smes/10513 "2020-09-22T10:10:38Z")

</div>

Go link for this page: go/owners I often forget who to tag for certain problems. Putting this here so I remember. Dgraph Clients | Client Name | Language | Owner | |----|----|----|----| | dgo | Go | @chewxy | | pyd…

---

## [Support For Apollo Federation](https://discuss.dgraph.io/t/support-for-apollo-federation/12011)

<div class="topic-metadata">

**Author:** [@minhaj](https://discuss.dgraph.io/u/minhaj)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 6:24am UTC](https://discuss.dgraph.io/t/support-for-apollo-federation/12011 "2021-03-08T06:24:28Z")

</div>

Motivaton Extend support for Apollo Federation according to the federation specs User Impact Users will now be able to use the Apollo federation server which provides a unified interface for querying any combination of …

---

## [RFC: Mutable and null able @id field in GraphQL](https://discuss.dgraph.io/t/rfc-mutable-and-null-able-id-field-in-graphql/13663)

<div class="topic-metadata">

**Author:** [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Replies:** 12\
**Last updated:** [April 23, 2021, 1:03pm UTC](https://discuss.dgraph.io/t/rfc-mutable-and-null-able-id-field-in-graphql/13663 "2021-04-23T13:03:04Z")

</div>

Motivation @id fields in GraphQL are currently not editable. Once entered we can’t change the value of these fields. Also, these fields are currently non-nullable. Also we can now have multiple @id fields in a type, h…

---

## [How mutations are processed and committed in dgraph](https://discuss.dgraph.io/t/how-mutations-are-processed-and-committed-in-dgraph/13696)

<div class="topic-metadata">

**Author:** [@ibrahim](https://discuss.dgraph.io/u/ibrahim)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 1:35pm UTC](https://discuss.dgraph.io/t/how-mutations-are-processed-and-committed-in-dgraph/13696 "2021-04-14T13:35:13Z")

</div>

The following diagram illustrates how mutations are processed and committed in dgraph. Some internal functions are skipped for brevity.

---

## [GraphQL Breaking Changes for 21.03.0](https://discuss.dgraph.io/t/graphql-breaking-changes-for-21-03-0/13270)

<div class="topic-metadata">

**Author:** [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 7:33am UTC](https://discuss.dgraph.io/t/graphql-breaking-changes-for-21-03-0/13270 "2021-03-18T07:33:29Z")

</div>

Here we are listing all the GraphQL breaking changes that will go in 21.03.0. String field won’t accept any non-string value. This change was done to make our implementation GraphQL spec compliant. We were accepting…

---

## [Panic: tocommit(289) is out of range \[lastIndex(1)\]. Was the raft log corrupted, truncated, or lost?](https://discuss.dgraph.io/t/panic-tocommit-289-is-out-of-range-lastindex-1-was-the-raft-log-corrupted-truncated-or-lost/6418)

<div class="topic-metadata">

**Author:** [@ashishgoswami](https://discuss.dgraph.io/u/ashishgoswami)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 3:31pm UTC](https://discuss.dgraph.io/t/panic-tocommit-289-is-out-of-range-lastindex-1-was-the-raft-log-corrupted-truncated-or-lost/6418 "2021-03-16T15:31:39Z")

</div>

We have lot of events coming to sentry with following stacktrace: panic: tocommit(289) is out of range \[lastIndex(1)\]. Was the raft log corrupted, truncated, or lost? goroutine 177 \[running\]: log.Panicf(0x198155c, 0x5d…

---

## [Multi-Tenancy 2021](https://discuss.dgraph.io/t/multi-tenancy-2021/12242)

<div class="topic-metadata">

**Author:** [@mrjn](https://discuss.dgraph.io/u/mrjn)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 4:39pm UTC](https://discuss.dgraph.io/t/multi-tenancy-2021/12242 "2021-01-11T16:39:14Z")

</div>

Following from http://dgraph.discourse.group/t/multi-tenancy-in-dgraph/7263 Multi-Tenancy in Dgraph is a proprietary feature. Discussions about making it open-source belong to Make Multi-Tenancy open source. Multi Tenancy G…

---

## [Bulk loader xidmap memory optimization](https://discuss.dgraph.io/t/bulk-loader-xidmap-memory-optimization/7496)

<div class="topic-metadata">

**Author:** [@harshil\_goel](https://discuss.dgraph.io/u/harshil_goel)\
**Replies:** 8\
**Last updated:** [March 4, 2021, 9:46am UTC](https://discuss.dgraph.io/t/bulk-loader-xidmap-memory-optimization/7496 "2021-03-04T09:46:10Z")

</div>

While bulk loading a dataset with a high number of unique xids, the bulk loader goes out of memory in the mapper phase. We keep a sharded map (XidMap) of xids to their corresponding id so that multiple instances of the s…

[Next page](https://discuss.dgraph.io/c/dev/29.md?page=1)
