Skip to content

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

@funyin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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