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

unregisterType() should remove particular registration #126

@elf-pavlik

Description

@elf-pavlik

https://github.com/solid/solid-client#registering-and-un-registering-types-in-the-type-registry

profile.typeRegistryForClass() returns an array of registrations, profile.unregisterType() should accept reference to one of those registrations and just remove that particular one.

Renaming it to removeTypeRegistration() may make it more clear, also each type registration could have simply delete() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions