There are probably two questions in that issue, but they're related.
First quick question : since version beta6 of the module, result_cache, schema_cache and development parameters have been combined into one only development parameter. Is there still a way to cache the schema but not the results ?
My actual issue : I am using Appollo and simple_oauth module to log into Drupal. Once logged in, I use currentUserContext to retrieve the user information. Everything worked fine until I updated the module from beta5 to latest dev version. currentUserContext appears to be null for certain roles. I have tried a different way, changing this query :
{
currentUserContext {
entityId
}
}
to this one :
{
route(path:"/user") {
...on InternalUrl {
currentUserContext {
entityId
}
}
}
}
It seemed to work at first, but I realized the second query was cached for some roles (the same roles for which the first query returns null).
Why do some roles have a null currentUserContext ? Could it be a question of permissions ?