Expose language field in GraphQL blob type
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/348145 Return the language of the blob for syntax highligher. Changelog: added
显示
- app/graphql/types/repository/blob_type.rb 6 个添加, 0 个删除app/graphql/types/repository/blob_type.rb
- app/presenters/blob_presenter.rb 8 个添加, 2 个删除app/presenters/blob_presenter.rb
- app/presenters/snippet_blob_presenter.rb 1 个添加, 1 个删除app/presenters/snippet_blob_presenter.rb
- doc/api/graphql/reference/index.md 1 个添加, 0 个删除doc/api/graphql/reference/index.md
- lib/gitlab/search/found_blob.rb 4 个添加, 0 个删除lib/gitlab/search/found_blob.rb
- spec/graphql/types/repository/blob_type_spec.rb 2 个添加, 1 个删除spec/graphql/types/repository/blob_type_spec.rb
- spec/presenters/blob_presenter_spec.rb 33 个添加, 3 个删除spec/presenters/blob_presenter_spec.rb
加载中
想要评论请 注册 或 登录