-
Notifications
You must be signed in to change notification settings - Fork 42
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
RAML generation fails if the route uri is a string that contains referenced constant #500
Comments
Yes, it is probably something we cannot really fix. The RAML processing is based on the JAVA AST, so we don't have the value of the constants. |
Could we detect this case and load the class to evaluate uri value ? This second compile phase can be skipped when uri value is simpler. |
I propose that my team will work on evaluating uri value with constants that are only defined into the same class as a first stepIs it ok for you ? |
Cool ! I discuss with @barjo yesterday, and I think we would eventually look for a mechanism to merge compilation and runtime data. However, does not really help for constants, so your way is already a good step. |
As we discuss yesterday (with Thomas ;) ) I think that's the more appropriate way to do it for now. Especially if don't want to have to handle the class during the watch mode, which can be very tricky. |
No description provided.
The text was updated successfully, but these errors were encountered: