Skip to content

Fix GremlinScala.hasLabel[CC] w/ constant label #253

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

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

jeremysears
Copy link
Collaborator

In cases where a domain CC was labeled using a constant value, rather
than a simple literal string, GremlinScala.hasLabel[CC] would fail
to find the correct label, and would fall back to the class name. This
change adds some utilities for resolving labels by CC, so that these
can be correctly resolved.

fixes #252

In cases where a domain CC was labeled using a constant value, rather
than a simple literal string, GremlinScala.hasLabel[CC] would fail
to find the correct label, and would fall back to the class name.  This
change adds some utilities for resolving labels by CC, so that these
can be correctly resolved.

fixes mpollmeier#252
@mpollmeier
Copy link
Owner

nice!

@mpollmeier mpollmeier merged commit fea98f5 into mpollmeier:master Sep 25, 2018
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.

GremlinScala.hasLabel[CC <: Product: ru.WeakTypeTag]() Fails when label annotation is not a literal
2 participants