Skip to content

Vaults general fixes and QOL #340

Description

@tegefaulkes

Specification

This issue relates to general fixes and QOL changes.
Change to selective imports in all relevant domains. And ensure there are no import cycles in the vaults domain.

     ┌──────────────────┐
     │                  │
     │                  │
Errors────►Types ──┐    │
  │         │      │    │
  │         │      │    │
  ▼         │      │    │
Utils ◄─────┘      │    │
  │                ▼    │
  └─────────► Classes ◄─┘

Additional context

Tasks

  1. switch Vaults domain to using selective imports.
  2. switch vaults tests to using selective imports.
  3. Vaults domain errors need to be reviewed and updated with proper descriptions and sysexit codes.
  4. VaultId decoding needs to be checked for if fromMultibase throws an error. this needs to be fixed.
  5. VaultsLog GRPC method can use the google timestamp type for the timestamp.

Activity

  1. changed the title [-]Switching to selective imports in vaults domain[/-] [+]Vaults general fixes and QOL[/+] on Feb 16, 2022
  2. CMCDragonkai commented on Feb 16, 2022

    @CMCDragonkai
    Member

    It would be similar to:

      protected connections: Map<NodeIdString, ConnectionAndLock> = new Map();
    

    So yea vault map (the in-memory one) would use VaultIdString.

  3. added a commit that references this issue on Feb 21, 2022
  4. tegefaulkes commented on Feb 21, 2022

    @tegefaulkes
    ContributorAuthor

    decodeVaultId still throws errors in some circumstances. I've made a comment on the PR related to this at MatrixAI/js-id#14 (comment).

  5. added 2 commits that reference this issue on Feb 21, 2022
  6. tegefaulkes commented on Feb 22, 2022

    @tegefaulkes
    ContributorAuthor

    VaultId decoding needs to be checked for if fromMultibase throws an error. this needs to be fixed. will be fixed after MatrixAI/js-id#15 is merged and the js-id version is updated here.

  7. added 2 commits that reference this issue on Feb 22, 2022
    cf2700b
    c504972
  8. added 5 commits that reference this issue on Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions