Allow multilevel dot notation
Closed this issue · 4 comments
Simon-Le commented
Allow using multiple levels of DictColumn and add them to the parser using dot notation.
Colin-b commented
It should already be the case, what's missing ?
Simon-Le commented
https://github.com/Colin-b/layabase/blob/develop/layabase/_api_mongo.py#L27
Missing the {prefix}
before {field.name}
in
_add_query_field(parser, inner_field, f"{field.name}.")
Colin-b commented
Good catch, you can submit a PR for this one if you want. Otherwise I'll see when I have some time