You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The constructor order doesn't seem to matter (which is a good thing because we can't control in what order end-users will set the properties).
190
+
191
+
// It seems the properties are in fact serialized not in alphabetical order, but in the order they are defined in the code structure.
192
+
// If you need to add an override to a parameter, physically place it after the parameter it overrides in the code structure, to ensure it is serialized last.
193
+
194
+
// The downside to this is linting. Our linter rules like to order properties alphabetically in the code structure.
195
+
// Meaning, to ensure that the override parameter is physically below the parameter it overrides, we either have to disable the linter rule for that file,
196
+
// or the override parameter has to be alphabetically after the parameter it overrides, which limits us on naming choices.
0 commit comments