# \#rfc

**URL:** https://discuss.dgraph.io/tag/rfc/14.md

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

---

## [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…

---

## [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…

---

## [RFC: Allow language Tag support in GraphQL](https://discuss.dgraph.io/t/rfc-allow-language-tag-support-in-graphql/13027)

<div class="topic-metadata">

**Author:** [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Replies:** 13\
**Last updated:** [January 18, 2024, 3:38pm UTC](https://discuss.dgraph.io/t/rfc-allow-language-tag-support-in-graphql/13027 "2024-01-18T15:38:32Z")

</div>

Summary We have language tag support in dgraph where we can mutate or query a single field in multiple languages. Many users wants this functionality to be added in graphql. And also users which are having data in dgraph…

---

## [Introducing Data Masking Compliance as a Solution for Data Protection in Databases](https://discuss.dgraph.io/t/introducing-data-masking-compliance-as-a-solution-for-data-protection-in-databases/18148)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 11:33pm UTC](https://discuss.dgraph.io/t/introducing-data-masking-compliance-as-a-solution-for-data-protection-in-databases/18148 "2023-01-04T23:33:31Z")

</div>

Objective The main objective of this RFC is to introduce Data Masking as a native feature in Dgraph and integrate it into the Access Control List (ACL). Data Masking is a data protection technique that aims to prevent un…

---

## [RFC: Proposal for change in Type System](https://discuss.dgraph.io/t/rfc-proposal-for-change-in-type-system/17983)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 3\
**Last updated:** [November 17, 2022, 11:14am UTC](https://discuss.dgraph.io/t/rfc-proposal-for-change-in-type-system/17983 "2022-11-17T11:14:25Z")

</div>

Proposal. Change Type System from Index based for Node tree based. As an “ontology”. This would allow having a linked T.System. For example. User → Product → purchase. Motivation The Type System today uses the configura…

---

## [RFC: Branch concept for Schema](https://discuss.dgraph.io/t/rfc-branch-concept-for-schema/17819)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 0\
**Last updated:** [September 30, 2022, 10:11pm UTC](https://discuss.dgraph.io/t/rfc-branch-concept-for-schema/17819 "2022-09-30T22:11:18Z")

</div>

Draft ignore typo - Request for comments Summary The idea is to create a logical branching mechanism in the schema. That way we can bring new functionality like pseudo-drop-all feature to Shared Cluster backend and also…

---

## [RFC: is filtering/computation really distributed?](https://discuss.dgraph.io/t/rfc-is-filtering-computation-really-distributed/17795)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 4\
**Last updated:** [September 25, 2022, 10:14am UTC](https://discuss.dgraph.io/t/rfc-is-filtering-computation-really-distributed/17795 "2022-09-25T10:14:37Z")

</div>

Request for Comments Similar to RFC: Is Mutation request really distributed? - Dgraph - Discuss Dgraph Summary One behavior I want to confirm is about computation in Dgraph’s query execution. With my time of experience…

---

## [RFC: Is Mutation request really distributed?](https://discuss.dgraph.io/t/rfc-is-mutation-request-really-distributed/17794)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 0\
**Last updated:** [September 21, 2022, 4:00pm UTC](https://discuss.dgraph.io/t/rfc-is-mutation-request-really-distributed/17794 "2022-09-21T16:00:10Z")

</div>

Request for Comments Summary In Dgraph, queries are executed in a distributed fashion at the predicate level. But if you separate it into multiple blocks, the execution gets a boost because each block is also executed c…

---

## [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…

---

## [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 …

---

## [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…

---

## [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…

---

## [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…

---

## [Idea - Shard predicate / Edge across groups](https://discuss.dgraph.io/t/idea-shard-predicate-edge-across-groups/12028)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 1\
**Last updated:** [April 20, 2021, 9:16pm UTC](https://discuss.dgraph.io/t/idea-shard-predicate-edge-across-groups/12028 "2021-04-20T21:16:03Z")

</div>

PS: This is just an idea, you should not consider this as a valid or what. Users requests: 1 Single predicate sharded across groups - Dgraph - Discuss Dgraph 2 Data Distribution Across to Servers - Dgraph - Discuss …

---

## [SELECT DISTINCT in Dgraph](https://discuss.dgraph.io/t/select-distinct-in-dgraph/7056)

<div class="topic-metadata">

**Author:** [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Replies:** 3\
**Last updated:** [April 18, 2021, 1:03am UTC](https://discuss.dgraph.io/t/select-distinct-in-dgraph/7056 "2021-04-18T01:03:10Z")

</div>

PS. I’m using v20.03.3 In SQL \<SLC DIST\> is limited to selecting values from a row that are not the same. In Dgraph, this concept changes a little bit. Since we don’t have columns and rows, not every SQL function make…

---

## [Count Queries in GraphQL](https://discuss.dgraph.io/t/count-queries-in-graphql/10714)

<div class="topic-metadata">

**Author:** [@rajas](https://discuss.dgraph.io/u/rajas)\
**Replies:** 22\
**Last updated:** [March 19, 2021, 4:17am UTC](https://discuss.dgraph.io/t/count-queries-in-graphql/10714 "2021-03-19T04:17:53Z")

</div>

Motivation Although, there exists a count functionality to count number of matched nodes or predicates in DQL, Dgraph GraphQL currently does not support count. This feature of supporting count in Dgraph GraphQL has been…

---

## [RFC: Upsert Mutations](https://discuss.dgraph.io/t/rfc-upsert-mutations/12736)

<div class="topic-metadata">

**Author:** [@rajas](https://discuss.dgraph.io/u/rajas)\
**Replies:** 5\
**Last updated:** [March 11, 2021, 6:35am UTC](https://discuss.dgraph.io/t/rfc-upsert-mutations/12736 "2021-03-11T06:35:10Z")

</div>

Motivation With the support of external IDs using @id directive, users of Dgraph GraphQL often face a situation where the existence of a particular ID in database decides on whether a particular mutation should be carrie…

---

## [Parameterized Cascade](https://discuss.dgraph.io/t/parameterized-cascade/7472)

<div class="topic-metadata">

**Author:** [@Paras](https://discuss.dgraph.io/u/Paras)\
**Replies:** 36\
**Last updated:** [March 1, 2021, 6:07am UTC](https://discuss.dgraph.io/t/parameterized-cascade/7472 "2021-03-01T06:07:10Z")

</div>

Current Currently @cascade directive does not take any parameters. This means that, for a node, all its children in the sub-graph must be present for it to be part of the response. The directive is implied at all levels …

---

## [RFC: enhancement over dgraph schema](https://discuss.dgraph.io/t/rfc-enhancement-over-dgraph-schema/8195)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 9\
**Last updated:** [February 15, 2021, 6:25am UTC](https://discuss.dgraph.io/t/rfc-enhancement-over-dgraph-schema/8195 "2021-02-15T06:25:13Z")

</div>

Moved from GitHub dgraph-js/117 Posted by shreyansh-zazz: Overview Users should be able to define DGraph schema in object format. Defining schema in an object format will enable us to provide more validations to the s…

---

## [Implement custom JS resolvers in GraphQL](https://discuss.dgraph.io/t/implement-custom-js-resolvers-in-graphql/9361)

<div class="topic-metadata">

**Author:** [@arijit](https://discuss.dgraph.io/u/arijit)\
**Replies:** 41\
**Last updated:** [December 24, 2020, 12:09am UTC](https://discuss.dgraph.io/t/implement-custom-js-resolvers-in-graphql/9361 "2020-12-24T00:09:42Z")

</div>

Motivation Implement custom JS resolvers in GraphQL that will help the user execute arbitrary business logic in addition to using the auto-generated resolvers. User Impact Users can directly use these JS resolvers inste…

---

## [Remote Export in Dgraph](https://discuss.dgraph.io/t/remote-export-in-dgraph/7615)

<div class="topic-metadata">

**Author:** [@gja](https://discuss.dgraph.io/u/gja)\
**Replies:** 10\
**Last updated:** [November 30, 2020, 10:06pm UTC](https://discuss.dgraph.io/t/remote-export-in-dgraph/7615 "2020-11-30T22:06:25Z")

</div>

Background Currently, dgraph export works by saving exported RDF and JSON files on to the disk of alpha leader. This makes it difficult to save the export if you do not have access to alpha (as is the case for Slash). Th…

---

## [Auth for Interfaces](https://discuss.dgraph.io/t/auth-for-interfaces/9699)

<div class="topic-metadata">

**Author:** [@minhaj](https://discuss.dgraph.io/u/minhaj)\
**Replies:** 12\
**Last updated:** [November 20, 2020, 12:27pm UTC](https://discuss.dgraph.io/t/auth-for-interfaces/9699 "2020-11-20T12:27:10Z")

</div>

Motivation Support Authorization rules on interfaces User Impact Users will now be able to use @auth rules on interfaces and the implementing types will inherit those rules. Implementation Auth Rules on Interfaces. We …

---

## [Auth Rule for CheckPassword Query](https://discuss.dgraph.io/t/auth-rule-for-checkpassword-query/11412)

<div class="topic-metadata">

**Author:** [@rajas](https://discuss.dgraph.io/u/rajas)\
**Replies:** 9\
**Last updated:** [November 19, 2020, 11:22am UTC](https://discuss.dgraph.io/t/auth-rule-for-checkpassword-query/11412 "2020-11-19T11:22:56Z")

</div>

Motivation The @secret directive Dgraph GraphQL has support for @secret directive to have password fields. Adding @secret field for a type, generates the check\<Type\>Password query The query returns an instance of the Typ…

---

## [Backup and Restore with operations like DROP\_ALL](https://discuss.dgraph.io/t/backup-and-restore-with-operations-like-drop-all/11218)

<div class="topic-metadata">

**Author:** [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Replies:** 3\
**Last updated:** [November 2, 2020, 11:01am UTC](https://discuss.dgraph.io/t/backup-and-restore-with-operations-like-drop-all/11218 "2020-11-02T11:01:54Z")

</div>

At present, Dgraph enterprise has Backup and Restore operations which mostly work fine except for a few edge cases. I will list those cases, but first, let’s take a look at the Backup and Restore process. Here are the st…

[Next page](https://discuss.dgraph.io/tag/rfc/14.md?match_all_tags=true&page=1&tags%5B%5D=rfc)
