# Neo4J GraphQL Apollo Resolver Filter GTE

**URL:** https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955
**Category:** GraphQL & GRANDstack
**Created:** [July 6, 2021, 11:08am UTC](https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955 "2021-07-06T11:08:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mmkay](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mmkay/32/19074_2.png) [@mmkay](https://community.neo4j.com/u/mmkay)
#### Post date: [July 6, 2021, 11:08am UTC](https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955/1 "2021-07-06T11:08:19Z")

</div>

Hi

i have a question.

Lets Say we have a property in the Schema that is only processed with a custom resolver, call it GesamtSumme. It works great i get back the GesamtSumme.

So now the GesammtSumme isn´t in Neo4J and the directive @ignore is added.

How can i use GesamtSumme for Filtering in GraphQL?

Something like this

...where: {GesamtSumme\_GTE: 20.000 })....

I always get back that GesamtSumme\_GTE is not know and when i try to extend the input it doesent show up.

So basically it´s a general Question how can i use Custom Resolved fields as an Filter in GraphQL?

Thank in advance.

---

<div class="post-metadata">

### Author: ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)
#### Post date: [July 6, 2021, 7:54pm UTC](https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955/2 "2021-07-06T19:54:13Z")

</div>

I think that's not yet supported, can you add your request as a GH issue?

> **[Issues · neo4j/graphql](https://github.com/neo4j/graphql/issues)**
>
> A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. - Issues · neo4j/graphql

---

<div class="post-metadata">

### Author: ![mmkay](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mmkay/32/19074_2.png) [@mmkay](https://community.neo4j.com/u/mmkay)
#### Post date: [July 8, 2021, 8:30am UTC](https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955/3 "2021-07-08T08:30:13Z")

</div>

Thanks @michael.hunger as far i understand it is not possible so i created a feature request. Do you know any other technique to solve this Problem?  
i also did use a @cypher directive but, then you cant use relationship in your graphQL.

As far i understand the process this is right.

From the graphQL statement one single Cypher is generated. When the @cypher directive is in use there is no generation. Because you can only return a single type or an array of a single type with the cypher directive, i found no way to accomplish a good way of computed properties.

---

<div class="post-metadata">

### Author: ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)
#### Post date: [July 9, 2021, 9:46pm UTC](https://community.neo4j.com/t/neo4j-graphql-apollo-resolver-filter-gte/40955/4 "2021-07-09T21:46:42Z")

</div>

Perhaps it would be good if you could together a minimal example of what you try to do? And add it to your feature request?
