Skip to content

[Promotion] Remove all fluent interfaces#3327

Merged
michalmarcinkowski merged 1 commit intoSylius:masterfrom
tuka217:promotion-fluent-interfaces-remove
Sep 23, 2015
Merged

[Promotion] Remove all fluent interfaces#3327
michalmarcinkowski merged 1 commit intoSylius:masterfrom
tuka217:promotion-fluent-interfaces-remove

Conversation

@tuka217
Copy link
Copy Markdown
Contributor

@tuka217 tuka217 commented Sep 22, 2015

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Fixed tickets no
License MIT
Doc PR no

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be removed as rule must be assigned to promotion.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These changes are not related to this PR and that change should be discussed separately, same as all below.

@tuka217 tuka217 force-pushed the promotion-fluent-interfaces-remove branch from 114da0f to dc6e86c Compare September 22, 2015 11:13
@michalmarcinkowski michalmarcinkowski added the Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). label Sep 22, 2015
@michalmarcinkowski michalmarcinkowski added this to the v0.16.0 milestone Sep 22, 2015
michalmarcinkowski added a commit that referenced this pull request Sep 23, 2015
@michalmarcinkowski michalmarcinkowski merged commit b184d96 into Sylius:master Sep 23, 2015
@michalmarcinkowski
Copy link
Copy Markdown
Contributor

Thank you Ania! 👍

@rvanlaak
Copy link
Copy Markdown
Contributor

Tried to figure out why fluent interfaces were removed. What did I miss?

They only are allowed for builders now? http://docs.sylius.org/en/latest/bundles/SyliusProductBundle/product_builder.html

@lchrusciel
Copy link
Copy Markdown
Contributor

@rvanlaak I don't feel to be an authority, so I will just link this article: Fluent Interfaces are Evil.

@rvanlaak
Copy link
Copy Markdown
Contributor

That was a really nice read @lchrusciel , thanks! 👍 I'd conclude that builders because of their nature should be the only ones to use fluent interfaces.

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…es-remove

[Promotion] Remove all fluent interfaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants