GraphQL: compile_docs skips connections
The following discussion from !24825 (merged) should be addressed:
-
@mkozono started a discussion: (+1 comment) Should there be a
boards
row? If so, please open a follow up MR/issue or perhaps you prefer to do it here.(Also for Project below)
rake gitlab:graphql:compile_docs
does not generate entries for connection fields.
We have
field :boards,
Types::BoardType.connection_type,
null: true,
description: 'Boards of the project',
resolver: Resolvers::BoardsResolver
field :board,
Types::BoardType,
null: true,
description: 'A single board of the project',
resolver: Resolvers::BoardsResolver.single
in ProjectType
, but only board
is generated in the doc when boards
should be there too.
Edited by Luke Duncalfe