We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, I need to do this in Micronaut Data micronaut-projects/micronaut-data#2876:
String originatingClassName = DataMethodQueryParameter.class.getName(); String packageName = NameUtils.getPackageName(originatingClassName); String simpleClassName = NameUtils.getSimpleName(originatingClassName); String exprClassName = "%s.$%s%s".formatted(packageName, simpleClassName, EvaluatedExpressionReferenceCounter.EXPR_SUFFIX); Integer expressionIndex = EvaluatedExpressionReferenceCounter.nextIndex(exprClassName); builder.members(Map.of( DataMethodQueryParameter.META_MEMBER_VALUE, new EvaluatedExpressionReference(expression, originatingClassName, DataMethodQueryParameter.META_MEMBER_VALUE, exprClassName + expressionIndex) ));
We should consider exposing an expression with some non-internal class like AnnotationClassValue instead of the internal EvaluatedExpressionReference
AnnotationClassValue
EvaluatedExpressionReference
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature description
Right now, I need to do this in Micronaut Data micronaut-projects/micronaut-data#2876:
We should consider exposing an expression with some non-internal class like
AnnotationClassValue
instead of the internalEvaluatedExpressionReference
The text was updated successfully, but these errors were encountered: