Add more fields to the GraphQL blob type
Currently, the blobs type is targeted towards viewing a whole directory at a time, rather than zooming in to the detail of an individual blob. Adding more fields allows it to tackle both at the same time. Changelog: added
显示
- app/assets/javascripts/repository/queries/blob_info.query.graphql 19 个添加, 22 个删除...ts/javascripts/repository/queries/blob_info.query.graphql
- app/graphql/types/blob_viewer_type.rb 47 个添加, 0 个删除app/graphql/types/blob_viewer_type.rb
- app/graphql/types/repository/blob_type.rb 39 个添加, 0 个删除app/graphql/types/repository/blob_type.rb
- app/graphql/types/snippets/blob_viewer_type.rb 3 个添加, 41 个删除app/graphql/types/snippets/blob_viewer_type.rb
- app/presenters/blob_presenter.rb 26 个添加, 2 个删除app/presenters/blob_presenter.rb
- changelogs/unreleased/323195-more-blob-attributes.yml 5 个添加, 0 个删除changelogs/unreleased/323195-more-blob-attributes.yml
- doc/api/graphql/reference/index.md 28 个添加, 1 个删除doc/api/graphql/reference/index.md
- spec/graphql/types/blob_viewer_type_spec.rb 12 个添加, 0 个删除spec/graphql/types/blob_viewer_type_spec.rb
- spec/graphql/types/repository/blob_type_spec.rb 22 个添加, 1 个删除spec/graphql/types/repository/blob_type_spec.rb
- spec/presenters/blob_presenter_spec.rb 34 个添加, 27 个删除spec/presenters/blob_presenter_spec.rb
加载中
想要评论请 注册 或 登录