-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Move AOT hints to main module #1446
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
Conversation
…the codebase and, more interestingly, specifically by the various JDBC-persisting repository implementations. This follows up on spring-projects#1380
TypeReference.of(SimpleGrantedAuthority.class), TypeReference.of(OidcIdToken.class), | ||
TypeReference.of(AbstractOAuth2Token.class), TypeReference.of(OidcUserInfo.class), | ||
TypeReference.of(OAuth2AuthorizationRequest.class), TypeReference.of(AuthorizationGrantType.class), | ||
TypeReference.of(OAuth2AuthorizationResponseType.class), TypeReference.of(OAuth2TokenFormat.class)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we also add
TypeReference.of(DefaultSavedRequest.Builder.class)
here
this.reflectionHintsRegistrar.registerReflectionHints(hints.reflection(), | ||
Class.forName("org.springframework.security.oauth2.server.authorization.jackson2.OAuth2TokenFormatMixin")); | ||
} catch (ClassNotFoundException ex) { | ||
this.reflectionHintsRegistrar.registerReflectionHints(hints.reflection(), Class.forName( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we also add
this.reflectionHintsRegistrar.registerReflectionHints(hints.reflection(), Class.forName("org.springframework.security.web.jackson2.DefaultSavedRequestMixin"));
here
Thanks for the PR @joshlong ! This is now merged with a follow-up polish commit. |
Thank you! |
This commit introduces AOT hints for types and resources used across the codebase and, more interestingly, specifically by the various JDBC-persisting repository implementations. This follows up on #1380