Skip to content

Conversation

@YlanzinhoY
Copy link

I introduced this feature to improve type safety, preventing us from mistyping the string in MapClaims, thus providing a slightly better experience. Of course, with 5 minutes of research you already know what MapClaims expects, but with this safety feature, simply pressing ctrl+space shows developers the types it expects.

Before

image

After

image

I can blend the new way with the old way and it works.

image image

ctrl+space

image

@oxisto
Copy link
Collaborator

oxisto commented Nov 23, 2025

That is a very interesting idea. I wonder how backwards-compatible this is, since we do not want to break existing code in the v5 branch and it does modify public API functions. Need to play around with that first. In any case this could be interesting for a v6, for which I want to start the development soon.

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.

2 participants