Skip to content

Allow input arguments using Record to have default value #169

@kindermax

Description

@kindermax

Now if we use data_type for input arguments such as

Graph([
  Root([
    Link("create", TypeRef["CreateInput"], link_fn)
  ])
], data_types={
  "CreateInput": Record[{"id": Integer, "name": Optional[String]}]
})

We can not set default value for a id or name fields of a CreateInput data_type

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