Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Separate View into different implementations#63

Merged
thewilkybarkid merged 13 commits intolibero:masterfrom
thewilkybarkid:twig-macros
Apr 4, 2019
Merged

Separate View into different implementations#63
thewilkybarkid merged 13 commits intolibero:masterfrom
thewilkybarkid:twig-macros

Conversation

@thewilkybarkid
Copy link
Copy Markdown
Contributor

#56 gave rise to the idea of having a lazy View. That experiment hacked it in; but it's better to have a real proxy implementation. After a bit of thought, we already have the need for different implementations (primarily to stop simple strings having to be rendered as a template). So, after a bit of a refactor in libero/pattern-library#76 we can have a separate StringView to handle that case.

@thewilkybarkid
Copy link
Copy Markdown
Contributor Author

As pointed out by @nlisgo, doesn't actually rely on libero/pattern-library#76 so we can separate them.

@thewilkybarkid thewilkybarkid marked this pull request as ready for review April 2, 2019 14:26
@thewilkybarkid thewilkybarkid requested a review from a team as a code owner April 2, 2019 14:26
@thewilkybarkid
Copy link
Copy Markdown
Contributor Author

Bit of refactoring done with #64 in mind.

@nlisgo
Copy link
Copy Markdown
Contributor

nlisgo commented Apr 3, 2019

Happy with these changes. It is a useful distinction.

@thewilkybarkid
Copy link
Copy Markdown
Contributor Author

Any more comments @giorgiosironi?

Copy link
Copy Markdown
Contributor

@giorgiosironi giorgiosironi left a comment

Choose a reason for hiding this comment

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

Good for me

@thewilkybarkid thewilkybarkid merged commit ef47d36 into libero:master Apr 4, 2019
@thewilkybarkid thewilkybarkid deleted the twig-macros branch April 4, 2019 09:46
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.

3 participants