Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Cache type considerations #4

@micimize

Description

@micimize

For us to have a strongly typed, normalized cache:

  • Types must be partials like Partial<ObjectType> in typescript
  • Relationships need to be replaced with references, possibly with associated type aware getters. E.g:
Reference<Task> _taskId;
Task get referencedTask => _dereference(_taskId);

This means we definitely need to generate separate models if we want a strongly typed cache.

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