Steps to reproduce
Schema:
schema {
query: Query
}
type Query {
character: Character
}
type Character {
id: Int
name: String
}
Interface:
package com.example;
import com.jacobmountain.graphql.client.GraphQLClient;
import com.example.dto.Character; // <--
@GraphQLClient(
schema = "Schema.gql"
)
public interface MyClient {
public Character getCharacter();
}
Generated implementation:
package com.example;
import com.jacobmountain.graphql.client.GraphQLClient;
import java.util.Character; // <-- this is the problem
@GraphQLClient(
schema = "Schema.gql"
)
public interface MyClient {
public Character getCharacter() {
// impl...
}
}
Steps to reproduce
Schema:
Interface:
Generated implementation: