|
Post by ratagupt on Dec 11, 2020 8:50:49 GMT
In logService we have a method called collectDiagnosticData. and it is having following Parameters 1) DiagnosticDataType 2) oemDiagnosticDataType
We have a use case where we want to give some more parameters in the case of oemDiagnosticDataType.Does is make sense to add a placeholder of additional parameters?
In our use case we have a oemDiagnosticDataType called "Resource" and as part of parameters we want to send some more info required to collect the dump required for the Resource.
|
|
|
Post by mraineri on Dec 11, 2020 13:42:54 GMT
We wanted to keep the standard options very simplistic to ensure interoperability, which is why "DiagnosticDataType" is a simple enum. It's not allowable to add additional parameters, but given "OemDiagnosticDataType" is a string for describing OEM types of diagnostic data, it sounds like you need to encode these different options in that string, and the client would specify "OEM" in the "DiagnosticDataType" parameter. If that's not going to work, you would need to create an OEM action for what you're describing.
|
|