Skip to content

Better feedback when |related and their ilk fail#1935

Merged
I-Valchev merged 2 commits intomasterfrom
fix/better-feedback-for-relations
Oct 2, 2020
Merged

Better feedback when |related and their ilk fail#1935
I-Valchev merged 2 commits intomasterfrom
fix/better-feedback-for-relations

Conversation

@bobdenotter
Copy link
Copy Markdown
Member

Before, when using {% set foo = bar|related %} was used and bar wasn't a Content, it'd fail like this:

Schermafbeelding 2020-10-02 om 16 19 38

Now it shows a more helpful note:

Schermafbeelding 2020-10-02 om 16 19 16

@bobdenotter bobdenotter added the topic: DX Improving code quality, tests coverage, making codebase more intuitive label Oct 2, 2020
Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

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

👍 Nice!

@I-Valchev I-Valchev merged commit b1d33e1 into master Oct 2, 2020
@I-Valchev I-Valchev deleted the fix/better-feedback-for-relations branch October 2, 2020 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: DX Improving code quality, tests coverage, making codebase more intuitive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants