# Neo4j-graphql-java features and config

**URL:** <https://community.neo4j.com/t/neo4j-graphql-java-features-and-config/37137>\
**Category:** GraphQL & GRANDstack\
**Created:** [April 20, 2021, 12:50pm UTC](https://community.neo4j.com/t/neo4j-graphql-java-features-and-config/37137 "2021-04-20T12:50:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clandestino\_bgd](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/clandestino_bgd/32/3838_2.png) [@clandestino\_bgd](https://community.neo4j.com/u/clandestino_bgd)\
**Post date:** [April 20, 2021, 12:50pm UTC](https://community.neo4j.com/t/neo4j-graphql-java-features-and-config/37137/1 "2021-04-20T12:50:15Z")

</div>

Hello, I have started to play with neo4j-graphql-java (since we are a java shop). Before that I made a POC with Grandstack and neo4j-graph-js.  
It worked great but now I am trying to move schema.graphql to my spring boot app that is using neo4j-graphql-java and graphql-kotlin-spring-server.

schema.graphql doesn't work out of the box, so I am trying to understand the differences, learn the motivation behind them and possible workarounds 🙂

In Grandstack I had Date and Point implicitly defined. Here I have to declare them as scalars:

```auto
scalar Date
scalar Point

```

Since I would like to use the same schema across both projects, is there a config where I could specify this implicit import?

Then in Grandstack my types are generated as queries by preserving the original names. In java lib (I guess this has been done by kotlin graphql schema generator) , the query types are decapitalized, e,g type Movie is generated as query movie.

I found the config in the docs [GitHub - neo4j-graphql/neo4j-graphql-java: Pure JVM translation for GraphQL queries and mutations to Neo4j's Cypher](https://github.com/neo4j-graphql/neo4j-graphql-java#auto-generated-queries-and-mutations) that says:

- configure capitalization of top level generated fields  
but where should I put this?

And finally I would like to ask:

- What are the short and long term plans with this library (neo4j-graphql-java). Will it follow the development of neo4j-graphql (to be officially supported js lib, now in beta), since it is currently trying to be on par with neo4j-graphql-js?
- Are there any load tests performed against neo4j-graphql-java? I am mostly interested how it compares with grandstack / neo4j-graphql-js

Thanks in advance,  
Milan

---

<div class="post-metadata">

**Author:** ![lyonwj](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/lyonwj/32/27358_2.png) [@lyonwj](https://community.neo4j.com/u/lyonwj)\
**Post date:** [May 3, 2021, 5:49pm UTC](https://community.neo4j.com/t/neo4j-graphql-java-features-and-config/37137/2 "2021-05-03T17:49:43Z")

</div>

I think we chatted about this in Discord, but I will post here as well for others:

For configuring the generated schema, `SchemaBuilder.buildSchema` takes a configuration object as the second argument. You can see some examples of using this configuration in the augmentation tests [here](https://github.com/neo4j-graphql/neo4j-graphql-java/blob/268a40d97152f98f32260052a006f58754a33e03/core/src/test/resources/augmentation-tests.adoc) and specifically for capitalized queries [here](https://github.com/neo4j-graphql/neo4j-graphql-java/blob/0f89393884914e906de9d78c1e432b5a09a2ce53/core/src/test/resources/schema-operations-tests.adoc#schema-with-capitalized-queries).

There are not currently plans to make neo4j-graphql-java an official project. Andreas Berger has been looking at ways to align neo4j-graphql-java with the official Neo4j GraphQL library outlined [in these issues.](https://github.com/neo4j-graphql/neo4j-graphql-java/labels/API-Alignment)
