diff options
author | Geir Storli <geirst@verizonmedia.com> | 2020-07-13 13:39:15 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2020-07-13 13:39:15 +0000 |
commit | 2cba25966414410b4ccf7e37f1748d3f573f85f7 (patch) | |
tree | 6626b13ecf0d4bc46adb4ef175ba03468f464c0a /config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd | |
parent | 5e5fde8bed784f207f68d429baa63a1ca9abefba (diff) |
Ensure that reference fields can be inherited from super document types.
Diffstat (limited to 'config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd')
-rw-r--r-- | config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd b/config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd new file mode 100644 index 00000000000..75c16d1eefe --- /dev/null +++ b/config-model/src/test/derived/imported_fields_inherited_reference/child_a.sd @@ -0,0 +1,8 @@ +# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +schema child_a { + document child_a { + field ref_from_a type reference<parent> { + indexing: attribute + } + } +} |