Archived
This forum has been archived. Please start a new discussion on GitHub.
Sequence of objects issue
Language Ref: Python
I have a slight issue. I made a few classes in a .ice file. Something like
From the client side, when the group is sent to the server, the permissions come back as dictionaries inside of a list. Is there a way that i can get these to come back as objects instead? A list of objects of type "TPermission"?
I have a slight issue. I made a few classes in a .ice file. Something like
class TPermission extends TGeneralObject
{
string Description;
string SystemRef;
string Enabled;
};
sequence<TPermission > TPermissionSeq;
class TGroup extends TGeneralObject
{
string Name;
TPermissionSeq Permissions;
};
From the client side, when the group is sent to the server, the permissions come back as dictionaries inside of a list. Is there a way that i can get these to come back as objects instead? A list of objects of type "TPermission"?
0
Comments
-
Ok, i think i read it wrong. Ignore.0