Skip to content

Code Generation Question - Generated Variable Names Changing #2500

Discussion options

You must be logged in to vote

@mattburton It's not a ticking time bomb, and you're good if you've pre-generated the code and nothing has changed about that document type / projection / whatnot. What you're seeing is a global variable counter across the existing app. If you changed something else, or the code generation that still happens at runtime sometimes without actual compilation happens in a different order, you could get different variable suffixes.

I'd be lying if I told you why I made that global, but there's no harm here even if it seems weird.

I'm converting this to a discussion.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mattburton
Comment options

Answer selected by mattburton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2484 on February 24, 2023 14:19.