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
When running Strawberry in a Docker container, GraphQL schema is frozen to the original state when the contatier is built. When the source code is changed neither hot reload, nor container reload works to refresh the schema. Only container rebuild refreshes the schema. I tried replacing sources with docker copy, mounting folder with the source code to the container, removing pycache folders, upgrading OS, Docker... I would be grateful if someone could come up with suggestions on how to solve the issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When running Strawberry in a Docker container, GraphQL schema is frozen to the original state when the contatier is built. When the source code is changed neither hot reload, nor container reload works to refresh the schema. Only container rebuild refreshes the schema. I tried replacing sources with docker copy, mounting folder with the source code to the container, removing pycache folders, upgrading OS, Docker... I would be grateful if someone could come up with suggestions on how to solve the issue.
Versions:
strawberry-graphql 0.253.1
uvicorn 0.30.6
fastapi 0.112.2
Docker 20.10.17, build 100c701
OS Ubuntu 20.04.6 LTS
Dockerfile
app.py
graphql_app.py
Beta Was this translation helpful? Give feedback.
All reactions