Skip to content

Properly support "strong typed maps" in generator #2601

@codyoss

Description

@codyoss

Currently the generator won't generate a type for the following code when the type is a request or response to a method:

"GoogleProtobufStruct": {
      "id": "GoogleProtobufStruct",
      "description": "description",
      "type": "object",
      "additionalProperties": {
        "type": "any",
        "description": "Properties of the object."
      }
    },

Code fails on something like:

case disco.MapKind, disco.AnyStructKind:
// Do nothing.

All other language generators support this.

Internal Bug: 336571031

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions