Skip to content

unexpected generation of type #2

Description

@sqs

The following JSON Schema triggers a bug in the compiler. It emits an Args-typed field but there is no type definition of Args.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "args": {
      "type": "object",
      // Adding this line fixes it:
      //
      // "additionalProperties": true
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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