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

Add @Meta(resolver = …) attribute to customize Meta resolutions #4810

Open
odrotbohm opened this issue Oct 14, 2024 · 0 comments
Open

Add @Meta(resolver = …) attribute to customize Meta resolutions #4810

odrotbohm opened this issue Oct 14, 2024 · 0 comments

Comments

@odrotbohm
Copy link
Member

In the discussion of potential solutions for #4808, one idea was to add a resolver attribute to the @Meta annotation that could…

  • either take a SpEL expression returning a fully populated Meta instance to be used for the query execution
  • or refer to a named bean implementing a dedicated interface MetaResolver.resolve(RepositoryMethodContext) so that implementations get access to the full method

I guess both could be supported at the same time, but we might end up adding only one of the options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants