The routine of working with the graphql apollo is that add file query .graphql
i would create dynamic query with java and i do not create file for each query
example querys :
one :
query EntryDetailQuery($repoFullName: String!) {
entry(repoFullName: $repoFullName) {
id
repository {
full_name
description
owner {
login
}
}
postedBy {
login
}
}
}
two :
just request full_name
query EntryDetailQuery($repoFullName: String!) {
entry(repoFullName: $repoFullName) {
id
repository {
full_name
}
}
}
in fact, i would to get dynamic querys with Java
is it possible?