Skip to content

Maps are not supportable #63

Description

@blloyd75

With the current implementation, maps are not easily supported. A traditional javascript object or backbone object easily implements the map<string, value> model. However, nestedTypes cannot handle a typed map, where the attribute names may be random strings but the value is a fixed type.

Code like myObj[key].refnum is valid JavaScript, very useful, but cannot be easily done through the nestedTypes framework. Untyped maps can be used as a value for a field, but since field names MUST be predefined for an object, the closest to this structure that can be done is an object with a Collection of sub-objects where the key is an attribute of the sub-object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions