Is app.ts / entrypoint executed at build time ? #1125
-
Hello! Thank you for the work being done here 🙏🏽 This all seems very promising! I have a simple question but here as a bit of context. I'm running a code requiring that some environments variables are present at runtime otherwise it throws an error and stop the server. Usually this is the kind of code I run as soon as the server starts, but having that code in the I'm not sure if I have something wrong in my setup, but I wanted to know if it was intended for the code in Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @emyann thanks for the kind words and welcome aboard! Yes this is a side-effect of Nexus' reflection system. A workaround to this can be found here: graphql-nexus/nexus#732 (comment) Solution design is happening here graphql-nexus/nexus#758 |
Beta Was this translation helpful? Give feedback.
Hey @emyann thanks for the kind words and welcome aboard!
Yes this is a side-effect of Nexus' reflection system.
A workaround to this can be found here: graphql-nexus/nexus#732 (comment)
Solution design is happening here graphql-nexus/nexus#758