Repository navigation
blueprints: Add support for nested !Context values - #20577
Merged
rissson merged 8 commits intoAug 28, 2026
Merged
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20577 +/- ##
==========================================
- Coverage 91.67% 91.66% -0.02%
==========================================
Files 1151 1151
Lines 73416 73456 +40
Branches 4054 4054
==========================================
+ Hits 67301 67330 +29
- Misses 6073 6084 +11
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
!Context values!Context values
rissson
approved these changes
Aug 28, 2026
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
dominic-r
approved these changes
Aug 28, 2026
Member
|
thank you for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This PR adds a backwards- compatible support for resolving nested values within a blueprint's context.
Example:
Why is this needed?
When writing more complex blueprints, I frequently want to group context values by "category" or take part of another key's value. Until now I had to write all keys using their full paths i.e.
authentication.something.setting1,authentication.something.setting2, etc instead of writing them as a dictionary like so:Moreover, sometimes I've had use cases where I want to take the value of 1 element in a list, for example:
This was impossible to do until now
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make docs)