Skip to content

Commit 5ca942c

Browse files
authored
docs: use [!NOTE] syntax (#429)
1 parent ddf08d7 commit 5ca942c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/querying-entries.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ The code comments in the example query below shows how you can fetch and filter
163163

164164
By default, WPGraphQL sets the maximum query amount to 100. This can be overridden using the [ `graphql_connection_max_query_amount` filter](https://www.wpgraphql.com/filters/graphql_connection_max_query_amount/).
165165

166-
**Note**: Currently, only lists of Submitted Entries are supported. Future versions will add support for querying lists of Draft and Partial entries.
166+
> [!NOTE]
167+
> Currently, only lists of Submitted Entries are supported. Future versions will add support for querying lists of Draft and Partial entries.
167168
168169
```graphql
169170
{

docs/querying-formfields.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ Luckily, we can use [GraphQL Interfaces](https://graphql.org/learn/schema/#inter
117117

118118
Entry values can be accessed similarly to other Gravity Forms Field properties, by including the corresonding GraphQL field in the fragment.
119119

120-
**Note**: Due to GraphQL limitations regarding Union types, you must use the specific value type specific to that field. A full list of field value types and their corresponding field fragments are below.
120+
> [!IMPORTANT]
121+
> Due to GraphQL limitations regarding Union types, you must use the specific value type specific to that field. A full list of field value types and their corresponding field fragments are below.
121122
122-
As of v0.10.0, all `formFields` have access to the `value` GraphQL field, which provides the string representation of the entry value, created by `GF_Field::get_value_export()` . Certain [supported `formFields`](form-field-support.md) provide a value type specific to that field, as follows:
123+
124+
As of v0.10.0, all `formFields` have access to the `value` GraphQL field, which provides the string representation of the entry value, created by `GF_Field::get_value_export()`. Certain [supported `formFields`](form-field-support.md) provide a value type specific to that field, as follows:
123125

124126
| Field Value Type | Used by | Available subfields |
125127
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- |

docs/submitting-forms.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ This mutation can be used either to submit an Entry or to submit a draft entry,
66

77
The `fieldValues` input takes an array of objects containing the `id` of the field, and a value input that corresponds to the Gravity Forms Field type.
88

9-
**Note**: Due to [GraphQL's current lack of support for Input Union types](https://github.com/axewp/wp-graphql-gravity-forms/issues/4#issuecomment-563305561), you must use the specific value type specific to that field. A full list of field value types and their corresponding field fragments are below.
9+
> [!IMPORTANT]
10+
> Due to [GraphQL's current lack of support for Input Union types](https://github.com/axewp/wp-graphql-gravity-forms/issues/4#issuecomment-563305561), you must use the specific value type specific to that field. A full list of field value types and their corresponding field fragments are below.
1011
1112
## Supported Field Value input types
1213

@@ -201,7 +202,8 @@ mutation submit( $token: String ) {
201202
## Submitting File Uploads
202203
To enable WPGraphQL support for submitting files (via the `fileUploadValues` or `postImageValues` inputs ), you must first install and activate the [WPGraphQL Upload](https://github.com/dre1080/wp-graphql-upload) extension, which will add the `Upload` scalar type to the GraphQL schema.
203204

204-
**Note**: The GraphQL Spec - and many GraphQL clients - does not natively implement support the [`graphql-multipart-request-spec`](https://github.com/jaydenseric/graphql-multipart-request-spec), and may require an additional dependency such as [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client).
205+
> [!IMPORTANT]
206+
> The GraphQL Spec - and many GraphQL clients - does not natively implement support the [`graphql-multipart-request-spec`](https://github.com/jaydenseric/graphql-multipart-request-spec) and may require an additional dependency such as [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client).
205207

206208
### Example Mutation
207209

0 commit comments

Comments
 (0)