[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: Map/list without entry_schema
Hi Gabor, This topic was discussed during Tuesdayâs TOSCA Language Ad-Hoc meeting. The team decided that entry_schema should be mandatory for property definitions of type âlistâ or âmapâ. We will make sure this is properly documented in TOSCA v2.0. Thanks, Chris From: Arturo Martin De Nicolas <arturo.martin-de-nicolas@ericsson.com>
Hello Chris, GÃbor, If the type of the entries can be anything how can the parser validate a property assignment, in particular if they are of a complex type? Is there any case in which you see it useful not to specify the type? I am thinking that it should be made mandatory, or? Best regards, Arturo From: tosca@lists.oasis-open.org <tosca@lists.oasis-open.org>
On Behalf Of Chris Lauwers Hi GÃbor,
Hope this helps, Chris From: tosca@lists.oasis-open.org <tosca@lists.oasis-open.org>
On Behalf Of Marton, Gabor (Nokia - HU/Budapest) Dear TOSCA Experts, what is the type of the entries in a map or list when the entry_schema is not provided? data_types: provider.datatypes.Example: derived_from: tosca.datatypes.Root properties: map_without_entry_schema: type: map Is it string? For properties and parameters at least, the default type is explicitly stated to be string (v1.3, 3.3.1.1), but I found no similar statement for entry_schema. Greetings, GÃbor |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]