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

Auto Configuration missing ObjectAccessHook parameter (yml) #708

Closed
duayres opened this issue Aug 28, 2018 · 3 comments
Closed

Auto Configuration missing ObjectAccessHook parameter (yml) #708

duayres opened this issue Aug 28, 2018 · 3 comments

Comments

@duayres
Copy link

@duayres duayres commented Aug 28, 2018

On doc there is a clear explanation about the javers core auto configuration (Spring framework integration):
"Each property in the Spring application.yml file has the corresponding with*() method in the JaversBuilder."
I've tried to write the method without the "with" in snake case on my yaml as follows:

javers:
    ...
    objectAccessHook: my.package.CustomHibernateUnproxy

But it did not work, it seems missing.

Javers version: 3.11.


Edit: Maybe a subsection to denote the transactional builder and then the parameter can be implemented:

javers:
    ...
    transactional:
        objectAccessHook: my.package.CustomHibernateUnproxy
@bartoszwalacik
Copy link
Member

@bartoszwalacik bartoszwalacik commented Aug 28, 2018

Simply, this is not implemented in yaml properties support. You are encouraged to contribute a PR.

@akrystian
Copy link
Contributor

@akrystian akrystian commented Oct 24, 2019

I can do PR on this feature.

@bartoszwalacik
Copy link
Member

@bartoszwalacik bartoszwalacik commented Nov 2, 2019

fixed in 5.8.3

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

Successfully merging a pull request may close this issue.

None yet
3 participants