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

unregisterType() should remove particular registration #126

Open
elf-pavlik opened this issue Oct 19, 2016 · 0 comments
Open

unregisterType() should remove particular registration #126

elf-pavlik opened this issue Oct 19, 2016 · 0 comments

Comments

@elf-pavlik
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant