Skip to content

Commit 0f0bba4

Browse files
committed
chore: Disable all compatibility flags by default
1 parent e62917c commit 0f0bba4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/viur/core/config.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -800,12 +800,12 @@ class Conf(ConfigType):
800800

801801
# FIXME VIUR4: REMOVE ALL COMPATIBILITY MODES!
802802
compatibility: Multiple[str] = [
803-
"json.bone.structure.camelcasenames", # use camelCase attribute names (see #637 for details)
804-
"json.bone.structure.keytuples", # use classic structure notation: `"structure = [["key", {...}] ...]` (#649)
805-
"json.bone.structure.inlists", # dump skeleton structure with every JSON list response (#774 for details)
806-
"tasks.periodic.useminutes", # Interpret int/float values for @PeriodicTask as minutes
807-
# instead of seconds (#1133 for details)
808-
"bone.select.structure.values.keytuple", # render old-style tuple-list in SelectBone's values structure (#1203)
803+
# "json.bone.structure.camelcasenames", # use camelCase attribute names (see #637 for details)
804+
# "json.bone.structure.keytuples", # use classic structure notation: `"structure = [["key", {...}] ...]` (#649)
805+
# "json.bone.structure.inlists", # dump skeleton structure with every JSON list response (#774 for details)
806+
# "tasks.periodic.useminutes", # Interpret int/float values for @PeriodicTask as minutes
807+
# # instead of seconds (#1133 for details)
808+
# "bone.select.structure.values.keytuple", # render old-style tuple-list in SelectBone's values structure (#1203)
809809
]
810810
"""Backward compatibility flags; Remove to enforce new style."""
811811

0 commit comments

Comments
 (0)