pm7y / AzureEventGridSimulator

A simulator that provides endpoints to mimic the functionality of Azure Event Grid topics and subscribers and is compatible with the Azure.Messaging.EventGrid client library.
MIT License
82 stars 40 forks source link

Align OperatorTypes for advanced filtering #175

Open tschirky opened 10 months ago

tschirky commented 10 months ago

The currently available OperatorTypes for advanced filtering are the following:

public enum OperatorTypeEnum
{
    NumberGreaterThan,
    NumberGreaterThanOrEquals,
    NumberLessThan,
    NumberLessThanOrEquals,
    NumberIn,
    NumberNotIn,
    BoolEquals,
    StringContains,
    StringBeginsWith,
    StringEndsWith,
    StringIn,
    StringNotIn
}

In the meantime, Azure Event Grid provides the following additional ones:

NumberInRange NumberNotInRange StringNotContains StringNotBeginsWith StringNotEndsWith IsNullOrUndefined IsNotNull

I was wondering whether you plan on aligning the Operator Types? Obviously it would be highly appreciated, as we like your tool and use it regularly for local testing.