Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile once, after the change of the function to use dynamic configuration? #78

Open
basis100 opened this issue Jan 31, 2023 · 2 comments

Comments

@basis100
Copy link

Dear campersau:
I want to make a configuration of the NCO program(adapter), but NCO function parameters must be defined by the class, I want to compile once, after the change of the function to use dynamic configuration, I do not know whether it can be achieved?

thanks a lot.

@campersau
Copy link
Contributor

Function parameters can currently not be dynamic. You can of course have multiple different classes for parameters and choose based on some configuration which one to use, but these must be defined at compile time.
Maybe #55 can be extended to support System.Dynamic.ExpandoObject for parameters.

@basis100
Copy link
Author

basis100 commented Feb 1, 2023

Dear campersau:

I looked the #55 about client call mode to use "support System.Dynamic.ExpandoObject for parameters".

but I tested my server call mode code, there is a error: "The SEND ID definition is not included"

Whether need you in "function.GetParameters"(server call mode) add dynamic ability ?

yyyyyyyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants