Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial feed registry implementation #1

Merged
merged 1 commit into from
Sep 11, 2020
Merged

Conversation

elia
Copy link
Member

@elia elia commented Aug 7, 2020

This is still WIP, but the general idea is there, reviews and comments about the general architecture are more than welcome!

@elia elia requested a review from aldesantis August 7, 2020 15:21
@elia elia assigned elia and nirebu Aug 7, 2020
@elia elia force-pushed the elia/innitial-registry branch from 39d780e to fab44eb Compare August 14, 2020 09:35
@elia elia requested a review from MinasMazar August 14, 2020 09:52
@@ -0,0 +1,15 @@
module SolidusFeeds::Feeds

Choose a reason for hiding this comment

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

Why using a module instead of a class, which can be more easily initialized?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because in this way we can both extend the base module directly (see SolidusFeeds.extend self) and test in isolation (see subject(:solidus_feeds)) in the spec.

@elia elia requested review from MinasMazar and nirebu September 11, 2020 11:09
Copy link
Contributor

@nirebu nirebu left a comment

Choose a reason for hiding this comment

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

Looking good!

@elia elia merged commit b6f3418 into master Sep 11, 2020
@elia elia deleted the elia/innitial-registry branch September 11, 2020 12:23
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