Class level metadata
spaulg opened this issue · comments
Simon Paulger commented
I'm trying to create a new ODM implementation for a KV store.
I'm currently working on a data repository. I see in the metadata class its possible to get data relating to class properties. How can I get metadata relating to the class as a whole?
So in this example:
@Document(foo="bar")
class User
{
}
...mapping logic which is a whole different area aside, I want to get foo. Is there an API for this on the metadata class, or is that too high level, and I need to use the reflection class in the metadata directly?