You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signature of the method needs to be changed too. We should drop the option definition in the code, and replace it with numbers. That would indicate to the code that it can be more options than 4. Option definition in method definition is wrong, we should delete all of these.
hello @nikolakukrika, I agree, but I do not know if we can suggest this kind of change. If you use integer it is OK for us. Enum with extensible=true can be too.
Thank you
@fridrichovsky You can ask additional things, the point is to get a good design in place. My comment was more for the team that is processing requests. Defining Options inline is bad. If it is not possible to avoid an option as a parameter in the method signature, then it must not contain any member definitions. The risk is that we are duplicating the definition, it will be hard to keep all the definitions up to date if one of the values changes.
Describe the request
Please add new event
Additional context
We need option run different usage and different report selection usage.
Internal work item: AB#558147
The text was updated successfully, but these errors were encountered: