graphql-go / graphql

An implementation of GraphQL for Go / Golang
MIT License
9.94k stars 841 forks source link

How to Add interface dynamically to type, similar to AddFieldConfig #626

Closed codebdy closed 2 years ago

codebdy commented 2 years ago

Fields can be added dynamically to type by AddFieldConfig()

How can we add interface to the type dynamically?

Thanks in advance.