Handling dynamic scripts with graphql queries causing unexpected behavior

Hi everyone,

I’ve been experimenting with a roblox lua setup that includes dynamic scripts similar to what you’d see in hoho hub delta executor, and I noticed that when these scripts interact with a backend API, some of my graphql queries behave inconsistently.

Sometimes the mutations don’t register properly, and subscriptions occasionally miss updates. I suspect it’s related to the way the scripts execute dynamically at runtime — they aren’t traditional static modules, so the state can change unexpectedly while making requests.

Has anyone here run into issues where dynamically executed scripts affect how graphql queries or mutations are processed? Are there best practices to ensure predictable api interactions when the client is running code that loads or executes dynamically?

Would love to hear if there’s a safe way to manage this without breaking the flow for real-time updates.