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
{{ message }}
Repository navigation
SchemaController.getAllClasses accepts parameter with wrong type #7677
❌ 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.
Activity
parse-github-assistant commentedon Nov 4, 2021
Thanks for opening this issue!
mtrezza commentedon Nov 4, 2021
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.
ThornWu commentedon Nov 5, 2021
When our team switch our deploy method from
docker-composetohelm 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 foundGET /schemasseems 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 functiongetAllSchemas. I did it and it was working.Currently I have no time to find the exact reason why the
helm chartway 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.