Skip to content

Results from get_latest and get_by_id are not the same #156

Description

@mo-seph

It appears that get_latest reconstructs objects, while get_by_id leaves references in place. It would be useful to have control over this from the API.

get_by_ids:

             u'obj1': { u'@id': u'obj1',
                        u'children': [{ u'@id': u'obj2'}, { u'@id': u'obj3'}],
                        u'name': [ { u'@language': u'',
                                     u'@type': u'',
                                     u'@value': u'obj1'}]}},

get_latest

             u'obj1': { u'@id': u'obj1',
                        u'children': [ { u'@id': u'obj2',
                                         u'name': [ { u'@language': u'',
                                                      u'@type': u'',
                                                      u'@value': u'obj2'}]},
                                       { u'@id': u'obj3',
                                         u'name': [ { u'@language': u'',
                                                      u'@type': u'',
                                                      u'@value': u'obj3'}]}],
                        u'name': [ { u'@language': u'',
                                     u'@type': u'',
                                     u'@value': u'obj1'}]},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions