dictionary - embeddable array type of schema in python-eve -


i know can make resource embeddable in resource, below schema not seems working? right way make array of resources embeddable in resource?

outer = {    'type': 'dict',    'schema': {        'inner': {            'type': 'list',             'schema': {                 'type': 'objectid',                 'required': true,                 'data_relation': {                     'resource': 'other_resources',                     'embeddable': true,             },         },     },    } } 

currently not supported:

currenly support single layer of embedding, i.e. /emails?embedded={"author": 1} not /emails?embedded={"author.friends": 1}.

however, there's active pull request right (add support 2 layers of document embedding) tries address limitation.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -