Skip to content

Moving the creation of ACLChechker into a factory method - #1075

Merged
kjetilk merged 1 commit into
release/v5.0.0from
refactor/acl-factory-method
Jan 29, 2019
Merged

kjetilk merged 1 commit into
release/v5.0.0from
refactor/acl-factory-method

Conversation

@megoth

@megoth megoth commented Jan 29, 2019

Copy link
Copy Markdown
Contributor

This is a solution that is used in both https://github.com/solid/node-solid-server/tree/feature/quota-ui and https://github.com/solid/node-solid-server/tree/bug/root-index-special-handling.

I want to suggest this way of changing the code, to encourage reuse of code (as I'm planning to do in aforementioned branches). But this might not be the most intuitive way to create the ACLChecker class (it's simply a very pragmatic move of code from my part), so am open to suggestions on other ways of doing this ^_^

@kjetilk kjetilk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kjetilk
kjetilk merged commit efdf8bc into release/v5.0.0 Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants