Commit cbfa4e28 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

Pass "target_types" as a set upon mapper selection in _RelationMapper

This is how yams_match predicate expects it.
parent 2ab0e1f13f16
......@@ -371,7 +371,8 @@ class _RelationMapper(BaseRelationMapper):
def schema_and_definitions(self, schema_role=None):
item_mapper = self.select_mapper(
rtype=self.rtype, role=self.role, target_types=self.target_types,
rtype=self.rtype, role=self.role,
items_schema, defs = item_mapper.schema_and_definitions(schema_role)
schema = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment