[Developers] Writing reversed properties with prefixes

Philip Kendall philip-freebase at shadowmagic.org.uk
Mon Jul 20 18:56:23 UTC 2009


This query works:

{
  "id": "/en/khador",
  "!/fictional_universe/fictional_universe/locations": {
    "id":      "/en/iron_kingdoms",
    "connect": "insert"
  }
}

but this does not:

{
  "id": "/en/khador",
  "a:!/fictional_universe/fictional_universe/locations": {
    "id":      "/en/iron_kingdoms",
    "connect": "insert"
  }
}

with a result of

"message": "Couldn't parse key !a:/fictional_universe/fictional_universe/locations"

I note here that the order of the prefix and the exclamation mark have
been reversed. (Reversing them in the source query makes no difference;
exactly the same error is returned). The same syntax works for read
queries.

Is this a bug?

Cheers,

Phil

-- 
  Philip Kendall <philip at shadowmagic.org.uk>
  http://www.shadowmagic.org.uk/


More information about the Developers mailing list