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

Send UPC-keys-as-text with a method, not a template #189

Merged
merged 3 commits into from
Jul 27, 2023

Conversation

spaze
Copy link
Owner

@spaze spaze commented Jul 27, 2023

This is because an extra template means it could be displayed even without the action/render method in the presenter. Well, not in this case, because the router wouldn't allow it, but in general. See the note below the diagram here.

I could move the template to some other directory but I think just building the string is faster and simpler.

Partially revert #188 (this unignores the error message ignored there)
Ref efabrica-team/phpstan-latte#415

This is because an extra template means it could be displayed even without the action/render method in the presenter. Well, not in this case, because the router wouldn't allow it, but in general. See the note below the diagram here https://doc.nette.org/en/application/presenters#toc-life-cycle-of-presenter

I could move the template to some other directory but I think just building the string is faster and simpler.

Ref efabrica-team/phpstan-latte#415
@spaze spaze self-assigned this Jul 27, 2023
@spaze spaze mentioned this pull request Jul 27, 2023
@spaze spaze merged commit 1fb3fea into main Jul 27, 2023
54 checks passed
@spaze spaze deleted the spaze/drop-text.latte branch July 27, 2023 23:47
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.

1 participant