Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
funyin opened this issue Oct 30, 2022 · 0 comments
Open

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

funyin opened this issue Oct 30, 2022 · 0 comments

Comments

@funyin
Copy link

funyin commented Oct 30, 2022

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

@funyin funyin changed the title Unable to class that inherits from an interface as an inputType Unable to use class that inherits from an interface as an inputType Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant