Skip to content

Union types are invalid in inputs #3

@kubukoz

Description

@kubukoz

While testing with DynamoDB, found out that our union handling is incorrect in schemas that are inputs. CalibanSchemaVisitor will need to be updated to account for whether it's in an input or an output position, and act accordingly: a union type should be represented as a struct (tagged union encoding)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions