Skip to content

Why isn't it possible to add services at creation time? #96

@lemoustachiste

Description

@lemoustachiste

The type does not define services as a valid option: https://github.com/decentralized-identity/didwebvh-ts/blob/main/src/interfaces.ts#L122, and I think when I dug a while back into the code it didn't do anything with it at creation time (code might have changed though).

So it means, to add a #whois service for instance, we need to first create the DID and then update it.

Is there a rationale behind this design choice?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions