|
Re: Unresolved proxies [message #1769440 is a reply to message #1769421] |
Mon, 31 July 2017 15:37 |
|
Hi,
(1) depends on what you mean by "all proxies". for the files that you directly affect through the change this is true. (org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(Resource, CancelIndicator) called from ClustringBuilderState) for the resources you traverse during validation this is not, but the validation should resolves the proxies automatically if you follow the references.
the validation is called after linking, that is correct.
(2) no you need to implement that yourself, make your validator nullsafe
(3) the question is: is the proxy not resolvable or is it not resolveable cause a flaw in your implementation
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
Re: Unresolved proxies [message #1769460 is a reply to message #1769456] |
Mon, 31 July 2017 19:10 |
|
Yes proxies should be resolved automatically if you access attributes etc inside them
Yes and no. It depends if the resources that contain the proxies are part of the build
Or you get to the proxy by following a reference to another file and ask
It for,yet another reference
Yes and no. See above. There is a difference between the files that were directly build and which are only traversed
During validation . And there is a differences between proxies that accept be resolved and those who can.
You would need to give some more context to investigate what exactly the problem is in your case
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.02111 seconds