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
Blueprints: Support nested custom tags in !Find
and !Format
tags
#4127
Blueprints: Support nested custom tags in !Find
and !Format
tags
#4127
Conversation
Codecov ReportBase: 92.77% // Head: 92.82% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #4127 +/- ##
==========================================
+ Coverage 92.77% 92.82% +0.06%
==========================================
Files 474 474
Lines 23207 23222 +15
==========================================
+ Hits 21528 21554 +26
+ Misses 1679 1668 -11
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
✅ Deploy Preview for authentik ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Details
N/A
Changes
New Features
!Find
and!Format
tags.This allows usages like these:
Breaking Changes
N/A
Additional
Incidentally, this also fixed a bug in the
!Format
tag, which was previously taking the name of the context variable of a!Context
tag, rather than resolving the tag and taking its value. The test for this functionality was also broken.You can see the test here:
authentik/authentik/blueprints/tests/test_v1.py
Lines 75 to 81 in d532943
And the fixture here:
authentik/authentik/blueprints/tests/fixtures/tags.yaml
Lines 1 to 10 in d532943
The correct name according to the context variables should have been:
foo-bar-baz
, notfoo-foo-bar