-
- Downloads
GraphQL support for Notes created in discussions
A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
Showing
- app/graphql/gitlab_schema.rb 2 additions, 2 deletionsapp/graphql/gitlab_schema.rb
- app/graphql/mutations/notes/create/note.rb 29 additions, 0 deletionsapp/graphql/mutations/notes/create/note.rb
- app/graphql/types/notes/discussion_type.rb 2 additions, 2 deletionsapp/graphql/types/notes/discussion_type.rb
- spec/graphql/gitlab_schema_spec.rb 1 addition, 1 deletionspec/graphql/gitlab_schema_spec.rb
- spec/requests/api/graphql/mutations/notes/create/note_spec.rb 22 additions, 1 deletion.../requests/api/graphql/mutations/notes/create/note_spec.rb
Please register or sign in to comment