# Field arugments

**URL:** <https://discuss.dgraph.io/t/field-arugments/10325>\
**Category:** GraphQL\
**Tags:** kind:question\
**Created:** [September 13, 2020, 1:55pm UTC](https://discuss.dgraph.io/t/field-arugments/10325 "2020-09-13T13:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinelsun](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/spinelsun/32/4596_2.png) [@spinelsun](https://discuss.dgraph.io/u/spinelsun)\
**Post date:** [September 13, 2020, 1:55pm UTC](https://discuss.dgraph.io/t/field-arugments/10325/1 "2020-09-13T13:55:47Z")

</div>

Hi,

I looked at the graphql official docs and there was a section about field arguments: [here](https://graphql.org/learn/schema/#arguments)  
I have 2 questions about this topic:

1. Do you support this feature?
2. What does it actually means?

---

<div class="post-metadata">

**Author:** ![rajas](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/rajas/32/4393_2.png) [@rajas](https://discuss.dgraph.io/u/rajas)\
**Post date:** [September 14, 2020, 12:19pm UTC](https://discuss.dgraph.io/t/field-arugments/10325/3 "2020-09-14T12:19:33Z")

</div>

Hi @spinelsun,

Quoting from [Dgraph Type Docs](https://dgraph.io/docs/graphql/schema/types/#type) ,  
`Schema rule : Fields with arguments are not accepted in the input schema unless the field is implemented using the `@custom` directive.`

So answering question 1, fields with arguments are not supported in Dgraph unless they are with @custom directive.  
You may read more about @custom directive over [here](https://dgraph.io/docs/graphql/custom/directive/).

What are you trying to use field arguments for ? Can you give an example ?

---

<div class="post-metadata">

**Author:** ![spinelsun](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/spinelsun/32/4596_2.png) [@spinelsun](https://discuss.dgraph.io/u/spinelsun)\
**Post date:** [September 14, 2020, 2:04pm UTC](https://discuss.dgraph.io/t/field-arugments/10325/4 "2020-09-14T14:04:08Z")

</div>

Hi @rajas,

Thanks for your response.  
I thought that I had a case for field arguments but it seems now like I was wrong.  
I thought about adding those arguments as metadata on the field itself.  
assume we have a user and an animal and the user has a pet of type animal so the field argument will be name: dog. But I understand now that it is not the meaning of the arguments
