azist / azos

A to Z Sky Operating System / Microservice Chassis Framework
MIT License
214 stars 29 forks source link

Add `DataDeconstructor<TDoc, TValue>` base for complex filter composition based on decision trees - data deconstructed from simpler representation like a text line #930

Open itadapter opened 6 days ago

itadapter commented 6 days ago

Choices:

  1. Add ICustomJsonRepresentation or something like this
  2. Separate function, separate field - called from where?
  3. Use IAmorphousData.AfterLoad and expect some key e.g. "__deconstruct"

The extra property may be used to populate additional elements/fields of filter which go on TOP of existing filter

filter: {
  PagingCount: 100,
  __deconstruct: "01/02/2024 02/03/2024 Zuskind 555-234-2323"
}