Re: [Pharo-users] [Voyage] How to declare an instance variable as transient?

2018-05-03 Thread sergio ruiz
ah! thanks! On May 3, 2018 at 5:06:18 PM, Alejandro Infante (alejandroinfant...@gmail.com) wrote: Hi Sergio, You have to add a method to the class side with a pragma. In my case, I wanted to set the instance variable “questionReferences” to transient. myClass class>>mongoQuestionReferences

Re: [Pharo-users] [Voyage] How to declare an instance variable as transient?

2018-05-03 Thread Alejandro Infante
Hi Sergio, You have to add a method to the class side with a pragma. In my case, I wanted to set the instance variable “questionReferences” to transient. myClass class>>mongoQuestionReferences ^VOTransientDescription new attributeName:

[Pharo-users] [Voyage] How to declare an instance variable as transient?

2018-04-30 Thread sergio ruiz
Hi, all.. I have an instance variable that I don’t want to save as part of the full project. I was wondering how to set this up. The documentation says: Lastly, attributes can be excluded from storage (and hence retrieval) by re- turning a VOMongoTransientDescription instance as the attribute