<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/graphql, branch docs-pages-force-https</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Render GFM html in GraphQL</title>
<updated>2019-06-20T08:02:33+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@gitlab.com</email>
</author>
<published>2019-06-20T08:02:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=406808583c2392a0b57f68f98b2418e9d23b23ab'/>
<id>406808583c2392a0b57f68f98b2418e9d23b23ab</id>
<content type='text'>
This adds a `markdown_field` to our types.

Using this helper will render a model's markdown field using the
existing `MarkupHelper` with the context of the GraphQL query
available to the helper.

Having the context available to the helper is needed for redacting
links to resources that the current user is not allowed to see.

Because rendering the HTML can cause queries, the complexity of a
these fields is raised by 5 above the default.

The markdown field helper can be used as follows:

      ```
      markdown_field :note_html, null: false
      ```

This would generate a field that will render the markdown field `note`
of the model. This could be overridden by adding the `method:`
argument. Passing a symbol for the method name:

      ```
      markdown_field :body_html, null: false, method: :note
      ```

It will have this description by default:

&gt; The GitLab Flavored Markdown rendering of `note`

This could be overridden by passing a `description:` argument.

The type of a `markdown_field` is always `GraphQL::STRING_TYPE`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a `markdown_field` to our types.

Using this helper will render a model's markdown field using the
existing `MarkupHelper` with the context of the GraphQL query
available to the helper.

Having the context available to the helper is needed for redacting
links to resources that the current user is not allowed to see.

Because rendering the HTML can cause queries, the complexity of a
these fields is raised by 5 above the default.

The markdown field helper can be used as follows:

      ```
      markdown_field :note_html, null: false
      ```

This would generate a field that will render the markdown field `note`
of the model. This could be overridden by adding the `method:`
argument. Passing a symbol for the method name:

      ```
      markdown_field :body_html, null: false, method: :note
      ```

It will have this description by default:

&gt; The GitLab Flavored Markdown rendering of `note`

This could be overridden by passing a `description:` argument.

The type of a `markdown_field` is always `GraphQL::STRING_TYPE`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose comments on Noteables in GraphQL</title>
<updated>2019-06-14T10:36:27+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@vanlanduyt.co</email>
</author>
<published>2019-06-07T17:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b6ff5f1e141162e701c33647aae5015e5d42cc11'/>
<id>b6ff5f1e141162e701c33647aae5015e5d42cc11</id>
<content type='text'>
This exposes `Note`s on Issues &amp; MergeRequests using a
`Types::Notes::NoteableType` in GraphQL.

Exposing notes on a new type can be done by implementing the
`NoteableType` interface on the type. The presented object should
be a `Noteable`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This exposes `Note`s on Issues &amp; MergeRequests using a
`Types::Notes::NoteableType` in GraphQL.

Exposing notes on a new type can be done by implementing the
`NoteableType` interface on the type. The presented object should
be a `Noteable`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add LFS blob ID to GraphQL blob type</title>
<updated>2019-06-10T08:05:44+00:00</updated>
<author>
<name>Phil Hughes</name>
<email>me@iamphill.com</email>
</author>
<published>2019-06-10T08:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=522c01972c7f46dbe8a2cd7569784fa255997c91'/>
<id>522c01972c7f46dbe8a2cd7569784fa255997c91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '62706-graphql-complexity-values-are-incorrectly-doubled' into 'master'</title>
<updated>2019-06-06T11:54:30+00:00</updated>
<author>
<name>Jan Provaznik</name>
<email>jprovaznik@gitlab.com</email>
</author>
<published>2019-06-06T11:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9318fba9cb352e91c9f45513c814bc5f7e18057f'/>
<id>9318fba9cb352e91c9f45513c814bc5f7e18057f</id>
<content type='text'>
Reduce GraphQL complexity for non-connection fields

Closes #62706

See merge request gitlab-org/gitlab-ce!29165</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce GraphQL complexity for non-connection fields

Closes #62706

See merge request gitlab-org/gitlab-ce!29165</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'graphql-file-entry-url' into 'master'</title>
<updated>2019-06-05T15:44:53+00:00</updated>
<author>
<name>Nick Thomas</name>
<email>nick@gitlab.com</email>
</author>
<published>2019-06-05T15:44:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=327c7d5a07fa08276a52b6a2bfdf79eee812a2cd'/>
<id>327c7d5a07fa08276a52b6a2bfdf79eee812a2cd</id>
<content type='text'>
Add web_url to tree entry in GraphQL API

See merge request gitlab-org/gitlab-ce!28646</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add web_url to tree entry in GraphQL API

See merge request gitlab-org/gitlab-ce!28646</pre>
</div>
</content>
</entry>
<entry>
<title>Use :complexity_multiplier only with connections</title>
<updated>2019-06-05T15:17:54+00:00</updated>
<author>
<name>Brett Walker</name>
<email>bwalker@gitlab.com</email>
</author>
<published>2019-06-04T22:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=95b3fe286349176be7f117211dcc0ffa9dfcb8bb'/>
<id>95b3fe286349176be7f117211dcc0ffa9dfcb8bb</id>
<content type='text'>
This helps reduce complexity for non-connections
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps reduce complexity for non-connections
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bvl-use-global-ids-graphql' into 'master'</title>
<updated>2019-06-05T10:25:22+00:00</updated>
<author>
<name>Jan Provaznik</name>
<email>jprovaznik@gitlab.com</email>
</author>
<published>2019-06-05T10:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d9a761ed14ab5025626dee17faf1528c1264a1b0'/>
<id>d9a761ed14ab5025626dee17faf1528c1264a1b0</id>
<content type='text'>
Use global IDs when exposing GraphQL resources

Closes #62650

See merge request gitlab-org/gitlab-ce!29080</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use global IDs when exposing GraphQL resources

Closes #62650

See merge request gitlab-org/gitlab-ce!29080</pre>
</div>
</content>
</entry>
<entry>
<title>Add web_url to tree entry in GraphQL API</title>
<updated>2019-06-05T07:46:32+00:00</updated>
<author>
<name>Phil Hughes</name>
<email>me@iamphill.com</email>
</author>
<published>2019-06-04T13:38:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4644a2daf5ec5e86e2b2989f04e99e4f081f6fef'/>
<id>4644a2daf5ec5e86e2b2989f04e99e4f081f6fef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose wiki_size on GraphQL API</title>
<updated>2019-06-04T12:11:41+00:00</updated>
<author>
<name>Alessio Caiazza</name>
<email>acaiazza@gitlab.com</email>
</author>
<published>2019-06-04T12:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4e251d01de8014a494049710ac27146a3f049d89'/>
<id>4e251d01de8014a494049710ac27146a3f049d89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose IDs in GraphQL as a GlobalID</title>
<updated>2019-06-03T19:59:25+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@vanlanduyt.co</email>
</author>
<published>2019-06-03T17:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ed503d51a39943b482e917028d589cc26ec01c95'/>
<id>ed503d51a39943b482e917028d589cc26ec01c95</id>
<content type='text'>
This exposes all fields named `id` as GlobalIDs so they can be used
across our entire GraphQL implementation.

When the objects loaded are `ApplicationRecord`s. We'll use our
existing batchloading to find them. Otherwise, we'll fall back to the
default implementation of `GlobalID`: Calling the `.find` method on
the class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This exposes all fields named `id` as GlobalIDs so they can be used
across our entire GraphQL implementation.

When the objects loaded are `ApplicationRecord`s. We'll use our
existing batchloading to find them. Otherwise, we'll fall back to the
default implementation of `GlobalID`: Calling the `.find` method on
the class.
</pre>
</div>
</content>
</entry>
</feed>
