You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query {
Humans {
pages
total
select {
id
name
friends {
name
id
}
}
}
}
but the same query using a Fragment no longer does:
fragment HumanFragment on Human {
id
name
friends {
name
id
}
}
query {
mydata:Humans {
pages
total
select {
...HumanFragment
}
}
}
{
"timestamp": "2020-02-03T11:47:49.915+0000",
"status": 500,
"error": "Internal Server Error",
"message": "failed to lazily initialize a collection of role: com.introproventures.graphql.jpa.query.schema.model.starwars.Character.friends, could not initialize proxy - no Session",
"path": "/graphql"
}
The text was updated successfully, but these errors were encountered:
Fragments worked fine a little while ago in 0.3.x but in 0.4 seem to have a broken transaction scope.
On master 510c5bf , this query works fine:
but the same query using a Fragment no longer does:
The text was updated successfully, but these errors were encountered: