Invoke Method refresh

Hi Radzen Team,
the "Invoke Method" Refresh function doesnt recognize the change from normal calls to async calls.

Could you please correct this? It's bad because i must change the method and change it back and lose all nested "then" and "error" entries and must define them again.

Kind Regards
Thomas

We will investigate this but cannot commit with a deadline for a fix.

Sure. Thank you for investigating :+1:t3:

Hi @korchev,
i noticed that changing the return type of methods is generally not regonized in radzen designer.
Changing the return type of a method that is used in "Invoke Method" results in errors which can only be corrected with the complete redefinition in Radzen Designer. This is very time consimung especially if there are many nested "Then"'s and "error"'s.

You can do me/us a big favor if you can correct this.

Thanks in Advance
Thomas

The information about the method is stored in the Invoke Method JSON metadata. There isn't a way to update it automatically when you change the method implementation. Also the existing metadata can be incomplete/incompatible with the new method signature so any attempt to update it will fail. I am afraid you will have to continue updating the Invoke Method definition in design time in such cases. Alternatively use Execute C# - Radzen uses your code almost verbatim in such cases.

Too bad... ok. It is as it is.

Thomas