Why "__typename"changed in production? (serverless) #1211
-
|
All of the "__typename" attributes of ObjectType() and InputType() classes are being changed when run in production only. We are using SST (serverless-stack). This is what we see through introspection at our endpoint when run in stage 'dev': And this is what we see through introspection at our endpoint when run in stage 'prod': It would be most helpful to gain an understanding of why these "__typename" attributes are being transcribed— only when the node environment is set at production — and how they can be preserved. Code: lambda.ts types.ts (example class declaration) package.json |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Disable JS minification that mangles class names |
Beta Was this translation helpful? Give feedback.
Disable JS minification that mangles class names