About your third point. It's not entirely true.The programmatic API mapping and SearchMapping generally has not been designed to be a pivotal representation of the metadata. There might be work to be done to improve this model.
As it is today, annotations are a type safe model quite close to reality. We would need to duplicate that work and create an ad-hoc type-safe model for parsing. I did some experiments for Hibernate OGM. Check out OGM-208 and my local branch for some data. There is also an OGM pull request on the subject.
But such change would be of relatively low value compared to feature focused and value add to the user so I'm not sure we should prioritize this work today.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
About your third point. It's not entirely true.The programmatic API mapping and SearchMapping generally has not been designed to be a pivotal representation of the metadata. There might be work to be done to improve this model.
As it is today, annotations are a type safe model quite close to reality. We would need to duplicate that work and create an ad-hoc type-safe model for parsing. I did some experiments for Hibernate OGM. Check out OGM-208 and my local branch for some data. There is also an OGM pull request on the subject.
But such change would be of relatively low value compared to feature focused and value add to the user so I'm not sure we should prioritize this work today.