Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNTkyNzdm...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-4859?atlOrigin=eyJpIjoiNTk...
) HSEARCH-4859 (
https://hibernate.atlassian.net/browse/HSEARCH-4859?atlOrigin=eyJpIjoiNTk...
) Add a "type" parameter to APIs that retrieve a parameter of arbitrary type (
https://hibernate.atlassian.net/browse/HSEARCH-4859?atlOrigin=eyJpIjoiNTk...
)
Issue Type: Improvement Assignee: Unassigned Components: mapper-pojo-base Created:
31/May/2023 02:04 AM Fix Versions: 7.0-backlog Priority: Major Reporter: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
See
https://github.com/hibernate/hibernate-search/pull/3503#discussion_r11963...
We have the same problem in multiple places, e.g.:
* org.hibernate.search.mapper.pojo.search.definition.binding.ProjectionBindingContext
* org.hibernate.search.mapper.pojo.bridge.binding.BindingContext
* org.hibernate.search.engine.search.predicate.definition.PredicateDefinitionContext
We should probably deprecate the variants that don’t have a “type” parameter, since people
will most likely always need a cast.
(
https://hibernate.atlassian.net/browse/HSEARCH-4859#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4859#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:a994ca2 )