Version
Slash GraphQL v20.11.2-rc1-15-gc358c26e
Schema
type Post {
id: ID
"Title Description"
title: name @search(by: [term])
}
Problem
Dgraph will generate the GraphQL schema with the description set on: Post.title
, AddPostInput.title
, PostPatch.title
, and PostRef.title
, but not on PostFilter.title
Why is this not great
I am generating some scripts based upon introspection. These scripts are used to generate select boxes to build dynamic filters. I added pretty names to my schema descriptions for fields in hopes to use these pretty names in the display values of the select inputs. But the pretty descriptions are not passed to the filter inputs