icdevs / ICEventsWG

WG for developing an Event System(pub/sub) on the Internet Computer
3 stars 3 forks source link

Vote Required: PublicationUpdateRequest - id or namespace? #54

Closed skilesare closed 2 days ago

skilesare commented 2 months ago

PublicationUpdateRequest - should we identify by id or namespace? A remote may not know the id….we’d have to share it with everyone…suggest namespace.

Suggestion: Namespace

skilesare commented 1 month ago

Example:

type PublicationUpdateRequest = {
    publicationId : nat;
    config : opt [ICRC16Map];
    memo: blob;
};

vs

type PublicationUpdateRequest = {
    publication : variant{
        id: nat;
        namespace: text;
    };
    config : opt [ICRC16Map];
    memo: blob;
};
skilesare commented 1 month ago

generally agreed