Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

feat: Let the AC decide if it wants to skip using a manifest. #33

Merged
merged 3 commits into from
May 17, 2019
Merged

feat: Let the AC decide if it wants to skip using a manifest. #33

merged 3 commits into from
May 17, 2019

Conversation

oed
Copy link
Contributor

@oed oed commented May 17, 2019

This let's access controllers decide if they should skip the manifest creation. Using this new access controllers that are backwards compatible can be created.

@shamb0t
Copy link
Contributor

shamb0t commented May 17, 2019

Thanks @oed! The issue with skipping a manifest is that AccessController.resolve will not be able to know which ac-type to load. So if the skipManifest options is set to true, we should throw an error if the type is not passed in the options.

@shamb0t
Copy link
Contributor

shamb0t commented May 17, 2019

Thanks @oed! Lgtm 👍

@shamb0t shamb0t merged commit 7e24bc1 into orbitdb-archive:master May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants