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

feat: allow formatting for authentication access elements #861

Merged

Conversation

Marsup
Copy link
Contributor

@Marsup Marsup commented Sep 21, 2023

Hello!

I found myself needing the same thing as #669, and I couldn't work around it on hapi's side, so I decided to go for an implementation that I hope will fit anyone's needs. Since this is so specific to hapi, I don't think there's a canonical way to present this kind of information, so a function hook seems best so that everyone can format it in any shape or form.

The only question I may have is: would it be worth having a default implementation of this setting (the one I used in examples and tests?), or is it fine to just not represent this information like currently?

@robmcguinness
Copy link
Collaborator

@Marsup fine either way. we can follow up with another PR if needed.

@robmcguinness robmcguinness merged commit 4640350 into hapi-swagger:master Nov 4, 2023
6 checks passed
@Marsup Marsup deleted the feat/auth-scopes-formatter branch November 7, 2023 08:17
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.

None yet

2 participants