-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
api: add decorator to validate serializer in @action endpoints #17435
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook canceled.
|
✅ Deploy Preview for authentik-integrations canceled.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #17435 +/- ##
==========================================
- Coverage 92.97% 92.87% -0.10%
==========================================
Files 868 869 +1
Lines 47841 47850 +9
==========================================
- Hits 44478 44442 -36
- Misses 3363 3408 +45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-c6b6709ec3dc5a6964c3f3db0c4d8a177b4e9b29
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s Afterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-c6b6709ec3dc5a6964c3f3db0c4d8a177b4e9b29 Afterwards, run the upgrade commands from the latest release notes. |
Instead of having to manually create the serializer and validate it, do that from the decorator
we've done this in the past where we just took the raw data without validating it, so this makes it easier