Fluent configuration of Remove
processor on PutPipelineRequestDescriptor
doesn't support field descriptor
#8358
Labels
Remove
processor on PutPipelineRequestDescriptor
doesn't support field descriptor
#8358
Is your feature request related to a problem? Please describe.
When creating an ingest pipeline in code, some processors support using the
TDocument
when configuring theField
to act on.Remove
does not.See above, we can only provide a string, implicitly converted to
Fields
.Describe the solution you'd like
Potentially, there's something amiss with the code generation, or we must manually add this to the partial class. It would be helpful if this processor acted like the others.
Describe alternatives you've considered
N/A
Additional context
Another slight developer experience issue I encountered is that when using the string to define the field, you get a nullability warning. This is due to the implicit conversion potentially returning null.
For example:
I use the null forgiving operator in the preceding code snippet to avoid the warning. It would be nice not to have to do that. This might be achieved with additional nullability annotations on the implicit conversion operator.
The text was updated successfully, but these errors were encountered: