Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme with Apollo3 3.8.1 version and help for a compilation issue #76

Merged
merged 1 commit into from
Jun 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Maven plugin that calls the https://github.com/apollographql/apollo-kotlin[Apoll
<dependency>
<groupId>com.apollographql.apollo3</groupId>
<artifactId>apollo-runtime</artifactId>
<version>3.0.0</version>
<version>3.8.1</version>
</dependency>
</dependencies>
----
Expand Down Expand Up @@ -78,6 +78,22 @@ At build time, the plugin will query the server and install this file per the va
.. Any subdirectories under `src/main/graphql/SERVICE_NAME` are treated as extra package names to append to `schemaPackageName` in the plugin config.
. Run `mvn generate-sources` to generate classes for your queries.

. If you run into compilation issues such as `package com.apollographql.apollo3.api does not exist`, you may need to explicitly add the following runtime libraries to your pom.xml
+
[source,xml]
---
<dependency>
<groupId>com.apollographql.apollo3</groupId>
<artifactId>apollo-api-jvm</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>com.apollographql.apollo3</groupId>
<artifactId>apollo-runtime-jvm</artifactId>
<version>3.8.1</version>
</dependency>
---

=== Configuration Options

All plugin configuration properties and their defaults:
Expand Down