Skip to content

Static factory #38

@roxblnfk

Description

@roxblnfk

Hello.
Is there any thought about adding a way to recreating identifiers through static methods?

Like it used to be with UUIDs: Uuid::fromString().
From my perspective, it seems strange that I have to populate a factory's state to get some object representation of an identifier from the database.

Or is it implied that now we should create identifiers directly via the constructor?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions