-
Notifications
You must be signed in to change notification settings - Fork 10
Question: GraphQL support #3
Comments
Unlike the Json API handle, the GraphQL handle requires Jersey library. However, so far it only supports Therefore, I need maintain a modified version of <dependency>
<groupId>org.illyasviel.elide</groupId>
<artifactId>elide-spring-boot-starter</artifactId>
<version>1.3.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.yahoo.elide</groupId>
<artifactId>elide-graphql</artifactId>
<version>${elide.version}</version>
</dependency> <repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories> [1] There is a related issue about GraphQL Endpoint. |
Thanks for the fast response! I appreciate the effort. Seems to work great so far. I did encounter one issue with a public LocalDateTime getUpdatedAt() {
return updatedAt;
} Which would throw trying to build:
But, I realized I've been trying to fight Elide on dates and it's easier just to stick with the Date type. |
Looks like an Elide issue? |
Yeah looks that way. You can close this issue as far as I'm concerned. |
Hey there, first of all I just want to say thank you for this project, it made getting Elide setup with Spring Boot a breeze!
I'll be honest, I'm a rookie to Java, Spring Boot, & Elide, so I'm figuring a lot of this out as I go. So far I've been successful at getting the JSON API working using this lib, but haven't been able to figure out how to go about enabling GraphQL. The Elide docs aren't very clear, other than to say it needs to be mounted to an endpoint like
/graphql
. It seems like that would be a good fit for the auto configuration this project is providing? Just curious if that's something being considered?Thanks!
The text was updated successfully, but these errors were encountered: