Changes for page #[RPC\Info]

Last modified by Ashterix on 2024/05/19 21:27

From version 4.1
edited by Ashterix
on 2024/05/19 21:17
Change comment: There is no comment for this version
To version 5.1
edited by Ashterix
on 2024/05/19 21:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -64,9 +64,11 @@
64 64  
65 65  = Caveats =
66 66  
67 -NOTE that there is no additional validation regarding the use of aliases or concatenation symbols, so your actions could lead to the aliasing of another existing class.
67 +{{warning}}
68 +(% id="cke_bm_754S" style="display:none" %) (%%)NOTE that there is no additional validation regarding the use of aliases or concatenation symbols, so your actions could lead to the aliasing of another existing class.
68 68  
69 -For example, if in your application there is already a class {{code language="none"}}Foo{{/code}} with the method {{code language="none"}}bar{{/code}} added to the API as the method {{code language="none"}}Foo.bar{{/code}}, and you create a class {{code language="none"}}Baz{{/code}} (% id="cke_bm_372757S" style="display:none" %) (%%)with the method {{code language="none"}}bar{{/code}}(% id="cke_bm_372757E" style="display:none" %) (%%) and set its alias to {{code language="none"}}Foo{{/code}}, this will lead to the registration of two API services with the same name. The outcome of these actions is unpredictable.
70 +For example, if in your application there is already a class {{code language="none"}}Foo{{/code}} with the method {{code language="none"}}bar{{/code}} added to the API as the method {{code language="none"}}Foo.bar{{/code}}, and you create a class {{code language="none"}}Baz{{/code}} (% id="cke_bm_372757S" style="display:none" %) (%%)with the method {{code language="none"}}bar{{/code}}(% id="cke_bm_372757E" style="display:none" %) (%%) and set its alias to {{code language="none"}}Foo{{/code}}​​​​​​, this will lead to the registration of two API services with the same name. The outcome of these actions is unpredictable.
71 +{{/warning}}
70 70  
71 71  {{error}}
72 72  By using this mechanism, you act at your own risk!