# \#custom-directive

**URL:** https://discuss.dgraph.io/tag/custom-directive/220.md

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

---

## [Directive idea to support var blocks in GraphQL](https://discuss.dgraph.io/t/directive-idea-to-support-var-blocks-in-graphql/14419)

<div class="topic-metadata">

**Author:** [@amaster507](https://discuss.dgraph.io/u/amaster507)\
**Replies:** 7\
**Last updated:** [June 5, 2024, 5:48pm UTC](https://discuss.dgraph.io/t/directive-idea-to-support-var-blocks-in-graphql/14419 "2024-06-05T17:48:09Z")

</div>

Idea comes from a recent blog post that gave several shoutouts to Dgraph :sunglasses: which references: What I found interesting was a directive called @export which is used to export variables to be used in later …

---

## [Status on Missing Custom Features](https://discuss.dgraph.io/t/status-on-missing-custom-features/16229)

<div class="topic-metadata">

**Author:** [@jdgamble555](https://discuss.dgraph.io/u/jdgamble555)\
**Replies:** 0\
**Last updated:** [December 4, 2021, 9:07pm UTC](https://discuss.dgraph.io/t/status-on-missing-custom-features/16229 "2021-12-04T21:07:28Z")

</div>

The Custom and Lambda directive are very powerful, however they are not complete. I want to first be clear that I do not want to just complain about EVERY missing feature request. I just keep trying to build a real usa…

---

## [Pull-Request: Fix checkpwd and val in eq func in custom dql](https://discuss.dgraph.io/t/pull-request-fix-checkpwd-and-val-in-eq-func-in-custom-dql/16200)

<div class="topic-metadata">

**Author:** [@Schartey](https://discuss.dgraph.io/u/Schartey)\
**Replies:** 8\
**Last updated:** [December 1, 2021, 4:08pm UTC](https://discuss.dgraph.io/t/pull-request-fix-checkpwd-and-val-in-eq-func-in-custom-dql/16200 "2021-12-01T16:08:25Z")

</div>

Hi! I’m trying to create a custom dql query in graphql, but it seems checkpwd is not supported. The dql query works in Ratel and if I remove checkpwd it also works in graphql as custom dql query. This leads me to the co…

---

## [Can I use DQL to calculate the value of a Custom Field?](https://discuss.dgraph.io/t/can-i-use-dql-to-calculate-the-value-of-a-custom-field/15877)

<div class="topic-metadata">

**Author:** [@BenW](https://discuss.dgraph.io/u/BenW)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 4:13am UTC](https://discuss.dgraph.io/t/can-i-use-dql-to-calculate-the-value-of-a-custom-field/15877 "2021-10-25T04:13:25Z")

</div>

The documentation for Custom Fields states that: Custom fields allow you to extend your types with custom logic as well as make joins between your local data and remote data. Am I right to assume that custom logic …

---

## [Custom Query not working with Float and Integer types](https://discuss.dgraph.io/t/custom-query-not-working-with-float-and-integer-types/12998)

<div class="topic-metadata">

**Author:** [@Geoff.Nunan](https://discuss.dgraph.io/u/Geoff.Nunan)\
**Replies:** 5\
**Last updated:** [March 8, 2021, 7:31am UTC](https://discuss.dgraph.io/t/custom-query-not-working-with-float-and-integer-types/12998 "2021-03-08T07:31:59Z")

</div>

I am using dgraph version 20.11.02 I have a simple rest API which returns the following json {"id":"0x1a","class":"Time","label":"Label","value":10,"standardValue":1.1,"text":"Test Single Reason"} In my schema, I have…

---

## [Using Custom with a nullable variable](https://discuss.dgraph.io/t/using-custom-with-a-nullable-variable/12171)

<div class="topic-metadata">

**Author:** [@verneleem](https://discuss.dgraph.io/u/verneleem)\
**Replies:** 1\
**Last updated:** [January 4, 2021, 10:58pm UTC](https://discuss.dgraph.io/t/using-custom-with-a-nullable-variable/12171 "2021-01-04T22:58:14Z")

</div>

I have the schema: type Project { id: ID name: String! url: String icons: Icons @custom(http: { url: "http://favicongrabber.com/api/grab/$url" method: GET }) description: String } type Icons @remote…

---

## [Suggestion on adding new query and mutations on top of default scehma](https://discuss.dgraph.io/t/suggestion-on-adding-new-query-and-mutations-on-top-of-default-scehma/10658)

<div class="topic-metadata">

**Author:** [@dgandhi17](https://discuss.dgraph.io/u/dgandhi17)\
**Replies:** 13\
**Last updated:** [October 2, 2020, 12:12pm UTC](https://discuss.dgraph.io/t/suggestion-on-adding-new-query-and-mutations-on-top-of-default-scehma/10658 "2020-10-02T12:12:46Z")

</div>

As dgraph already is Graphql I want to have custom queries and mutation for 3rd party endpoint. like login to third party services have data in our dgraph. Kinda hybrid approach so that only the queries and mutation for…
