Skip to content

Unable to use class that inherits from an interface as an inputType #199

Description

@funyin

I noticed that when I use the following class(Dessert) an inputType the playground auto-complete and documentation stopped working. But queries still executed as expected

data class Dessert(
    override val _id: String, var name: String,
    var description: String, var imageUrl: String
) : Model

interface Model {
    val _id:String
}

//  in schema
inputType<Dessert> {
        description = "Dessert object to be updated"
    }

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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