Skip to content

Further StoreAction for type operations #205

@elbakerino

Description

@elbakerino

Arrays provide further options, which are currently handled directly inside of a widget, that should be moved to StoreActions, to be able to intercept them and e.g. implement SelectMulti array updating other than set or update.

Check for further type specific actions which - which are commonly supported by NoSQL/SQL engines.

All actions could, because of their nature, be in conflict with keyword default, as they don't rely on the data in the schema but must rely on data of "store.value or external system".

  • array
    • list-delete-value to remove all occurences of the given value from the array
    • list-add-value to add the given value from the array if not exists
    • ? sortResult as new boolean option on each list-item- action to specify if it should be sorted afterwards
  • int|number
    • number-incr for increasing the value by 1 (or arbitrary?)
    • number-decr for decreasing the value by 1 (or arbitrary?)
  • boolean
    • boolean-toggle for changing true to false and vise versa, thus defaulting to true on first set (default conflict)
  • ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions