Skip to content

Commit

Permalink
Fixed Named SR registration works only with lower-cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqzn committed Nov 2, 2024
1 parent d844923 commit 0cccfb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public <T> void registerParamType(Type type, @NotNull ParameterType<S, T> resolv
*/
@Override
public void registerNamedSuggestionResolver(String name, SuggestionResolver<S> suggestionResolver) {
suggestionResolverRegistry.registerNamedResolver(name, suggestionResolver);
suggestionResolverRegistry.registerNamedResolver(name.toLowerCase(), suggestionResolver);
}

/**
Expand Down

0 comments on commit 0cccfb8

Please sign in to comment.