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
HSEARCH-3388 Search 6 groundwork - Output the full property key (as provided by the user) in case of parsing error #1784
Conversation
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.
… to HibernateOrmConfigurationPropertySource It's a bit cleaner, but more importantly that will make the following changes easier to deal with.
…n case of parsing error
… to parse property strings
2235955
to
7d2eb35
Compare
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.
...va/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Show resolved
Hide resolved
Can't say I'm excited by this one. Wouldn't it be better to keep the original property handy so that we don't have to resolve it back? |
Not sure what you're suggesting, but one problem is that we don't know the full property key where we use it, we only know the radical. So we can't really display the full property key without some additional code to resolve it. For example in the ORM integration we use the Out of curiosity, what is your main concern? Maybe I can do something about it. |
Well, it's just that it feels weird to have the property to begin with, then lose some information about it, and then resolve it back to what it was. But I suppose it's how it is. Merging. |
Merged! |
https://hibernate.atlassian.net//browse/HSEARCH-3388