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

Support for Generic entities #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

athieriot
Copy link

@athieriot athieriot commented Oct 19, 2017

Proposal for #179

Update most of the entityManager methods to support receiving an extra
ParameterizedType in case the user need to persist a Generic entity.

The type lost by erasure will then be reified using the informations
from the Parameterized type and the fields will be introspected as
normal.

Previous behaviour is not impacted and no breaking change was needed.

@athieriot athieriot changed the title #179 - Support for Generic entities Support for Generic entities Oct 19, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.374% when pulling 1250494 on athieriot:parameterizedtype into b0ab810 on sai-pullabhotla:master.

@athieriot athieriot force-pushed the parameterizedtype branch 2 times, most recently from f4d37d3 to 9f7fc20 Compare October 19, 2017 13:23
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.374% when pulling 9f7fc20 on athieriot:parameterizedtype into b0ab810 on sai-pullabhotla:master.

@athieriot athieriot force-pushed the parameterizedtype branch 2 times, most recently from d8c3646 to 9fac1ff Compare November 15, 2017 11:19
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.374% when pulling 9fac1ff on athieriot:parameterizedtype into b0ab810 on sai-pullabhotla:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.374% when pulling 9fac1ff on athieriot:parameterizedtype into b0ab810 on sai-pullabhotla:master.

Update most of the entityManager methods to support receiving an extra
ParameterizedType in case the user need to persist a Generic entity.

The type lost by erasure will then be reified using the informations
from the Parameterized type and the fields will be introspected as
normal.

Previous behaviour is not impacted and no breaking change was needed.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.374% when pulling 419c442 on athieriot:parameterizedtype into b0ab810 on sai-pullabhotla:master.

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

Successfully merging this pull request may close these issues.

2 participants