Syncleus / Ferma

An ORM / OGM for the TinkerPop graph stack.

Home Page:http://syncleus.com/Ferma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding a custom Annotation

mikrobe opened this issue · comments

In order to register a custom Annotation, it is necessary to create an annotation method handler and add it to the AnnotationFrameFactory's methodHandlers map.
The issue is that AnnotationFrameFactory's methodHandlers is private, hence it is not accessible.
Changing it to "protected" it allows to extend AnnotationFrameFactory and add the custom annotation handler right inside the constructor.

@mikrobe hi, sorry I just noticed this ticket. Very sorry it slipped through the cracks, I usually implement issues quickly. I will investigate this and should have a fix in the next release for you.

@mikrobe I have now implemented a solution to this ticket. Sorry for the terribly long wait, that will never happen again. Please feel free to reach out if you need additional help in the future.

The following commit resolves this ticket: 391d2a6