Skip to content

Support kotlin.collections.Set #201

Closed
@smyrick

Description

@smyrick

Is your feature request related to a problem? Please describe.
Right now the current support collections we can convert to a GraphQL list (List, Array) to do provide a uniqueness guarantee like Set

Describe the solution you'd like
We would like to use a Set<T> as a unique collection of values instead of a List<T> or Array<T>

Describe alternatives you've considered
We could use List in the schema code but then we would have to manually perform some operation to remove duplicates in the list

Additional context
This is the error that is thrown when Set is used in the schema

Cannot convert kotlin.collections.Set<kotlin.String> since it is outside the supported packages [com.expedia]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions