Skip to content

[engine] Evolution for adapter interfaces #370

@mdartic

Description

@mdartic

Actually, the signature of CRUD function is more or less tableName: string, id: string | number, record: Partial<T>, params?: any,.

I think we can do better for the params typing, by specify all necessary and optional properties.

What I see until now :

  • $join for joining relation (maybe left/right/outer could be nice)
  • $fetch
  • $select
  • $output, actually for pg datasource geojson or json by default
  • everything else with acl filters that are merged into the user filters

I think we can do better for typing, maybe by specifying the object to send (will all cited properties) or a param for each needed property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions