You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interface Result {
title: String!
description: String! @goField(forceResolver: true)
}
type Book implements Result {
title: String!
description: String! @goField(forceResolver: true)
author: String!
# ... other fields
}
type Article implements Result {
title: String!
description: String! @goField(forceResolver: true)
section: String!
# ... other fields
}
When I run the generator, it generates bookResolver and articleResolver, each one with its description field resolver. Is there a way I can generate a common resultResolver for them?