Open
Description
Running make validate api=simulate.ingest branch=main
returns the following error:
Type '{ "non-existent-processor": {}; }' is not assignable to type 'IngestProcessorContainer'.
Object literal may only specify known properties, and '"non-existent-processor"' does not exist in type 'IngestProcessorContainer'.
The relevant failing test is actually valid, because ProcessorContainer
is tagged with:
/**
* @variants container
* @non_exhaustive
*/
so it should allow an unknown value. Does validation consider @non_exhaustive
?.