Answer the question
In order to leave comments, you need to log in
Is it possible to inject a string into an annotation value?
Hello. I need to put a value from the config into the annotation. I want to do it through .
It should look something like this:
@EnableSentry(dsn = @Value(value = "${sentry.sdn}"))
But I am getting an errorType mismatch: cannot convert from Value to String
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question