File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,10 @@ ClassMethod GenerateProxyClass(
300
300
Set tDefault = tPropInfo ." __getitem__" (2 )
301
301
If " " '=tDefault {
302
302
Set tCustomProp .InitialExpression = $$$quote(tDefault )
303
+ if $LENGTH (tDefault )>255 {
304
+ Set tSC = tCustomProp .Parameters .SetAt (" " ," MAXLEN" )
305
+ Quit :$$$ISERR(tSC )
306
+ }
303
307
}
304
308
Set tCustomProp .Required = tPropInfo ." __getitem__" (3 )
305
309
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ class MySettingOperation(BusinessOperation):
139
139
my_float_var : float = 0.0
140
140
my_untyped_var = 0
141
141
my_str_var = "foo"
142
+ my_very_long_var = "a" * 1000 # Long string for testing
142
143
143
144
def OnMessage (self , request ):
144
145
attr = request .StringValue
You can’t perform that action at this time.
0 commit comments