brianraymes commented on issue #845:
URL: https://github.com/apache/royale-asjs/issues/845#issuecomment-639700475


   For myself, I also use the `[RemoteClass(alias = "full.path"]` annotation in 
all of my VOs, but it has never been enough. The same goes for my legacy Flex 3 
application that I am in the middle of porting to Royale.
   
   For the most part, the `RemoteClass` annotation appears to work, but in 
several scenarios, some objects deserialize without their proper type 
(ASObject). In order to get around it, I either have to manually register a 
class alias, or declare one instance of said class -- both can solve this 
issue. To automate it for us, someone built a script to generate a class that 
imports and declares every VO we have and is instantiated on app 
initialization. We've had that in place for so long that I've never really 
thought about it until now.
   
   Perhaps there is something I'm missing as well? Is there something besides 
`RemoteClass` that should be set/configured for those to work properly?
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to