Griddly icon indicating copy to clipboard operation
Griddly copied to clipboard

sort variableNames to provide consistent observations

Open daveey opened this issue 2 years ago • 0 comments

Provide a consistent ordering for objectVariables. Add them to a sorted set, and recompute objectVariableIds_ whenever new object types are added.

Fixes https://github.com/Bam4d/Griddly/issues/297

Tested manually and confirmed that get_object_variable_names() returns the variables in alphabetical order

daveey avatar Feb 13 '24 22:02 daveey