[Developers] Reflection problem

Chris Fitzpatrick cfitz at stanford.edu
Thu May 28 20:30:12 UTC 2009


Hello,

I'm having a problem with querying links...specifically getting the  
"name" value to return for some of the any_reverse properties.

So, here's an example query:

[{ "/type/reflect/any_master": [{
     "id":       null, "link": {"master_property": { "id":   null,  
"name": null} },
    "name":     null,  "optional": true}],
   "/type/reflect/any_reverse": [{
     "id":       null,
     "link": {"master_property": {"reverse_property": {"id":   null,   
"name": null}}},
     "name":     null,"optional": true}],
   "/type/reflect/any_value": [{
     "link": {"master_property": {"id":   null,  "name": null}},
     "value":    null, "optional": true}],
   "id":   "/en/edward_feigenbaum",  "name": null, "type": []}]

The odd thing is that some of the /type/reflect/any_reverse results do  
display the any_reverse.name (like "Ethnicity" and "Companies  
Founded" )  value and some don't (like "Employment History" and  
"Education").
The result in my application is that "Employment History" is just a  
bunch of "null" for each of the links associated to that person...

Any suggestions?

Thanks, chris.

  


More information about the Developers mailing list