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
❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.
It seems you are correct; in 0a6eaf3 the bool has been replaced by object, but the lines you mentioned seem to have been forgotten while others were converted.
What was the potential impact of that? Tests usually pass.
When our team switch our deploy method from docker-compose to helm chart(with a single pod), we found the hot reload of schema is broken. The database is updated, but the schema cache not. Then I found GET /schemas seems to designed for getting the newest schema by refreshing cache, so I was going to call this router manually. The only thing I need to first is adding a patch to the function getAllSchemas. I did it and it was working.
Currently I have no time to find the exact reason why the helm chart way is broken, but I ensure all PARSE config are same.
So the actual problem I met is in some case, schema cache doesn't refresh. I just bypassed the problem and found these two mistakes.
New Issue Checklist
Issue Description
When I was reading the source code, I found two mistakes when calling
SchemaController.getAllClasses
.getAllClasses
accepts a object with a key namedclearCache
.But there are two places calling this function with a boolean value.
No.1
In src/Routers/SchemasRouter.js#L19
No.2
In /src/GraphQL/loaders/schemaQueries.js#L63
Environment
Server
Logs
n/a
The text was updated successfully, but these errors were encountered: