I have API Objects that appear to work just fine, but in my tests I am trying to create models without saving. When I do so, I am unable to get the model properties. For instance:
Echoes nothing. When I inspect $o->a with the debugger, I get "null". Similarly, relationships that work just fine when loading via the API fail when accessed on a new model object. Am I missing something or is this a bug?
I have API Objects that appear to work just fine, but in my tests I am trying to create models without saving. When I do so, I am unable to get the model properties. For instance:
Echoes nothing. When I inspect
$o->a
with the debugger, I get "null". Similarly, relationships that work just fine when loading via the API fail when accessed on a new model object. Am I missing something or is this a bug?