Skip to content

Rework api for better TypeScript support and overall simplicity #22

Description

@Amareis
  • Replace custom shortcuts with some inline field which can be inferred by TS (and maybe remove disabling standard shortcuts at all)
    api.res({'some-field: {SHORTCUT: 'someField}}).someField.get()
  • Remove res completely or make it working just like withRes
  • Remove cloning all resources when id is passing - need prev item to be done first
  • Maybe add some possibility to add types for api response (or runtime typechecking with existing libs)
  • Think about Support for blob (or any other) response type #12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions