Skip to content

Commit 3fca8e4

Browse files
committed
Autoformat Readme
1 parent b7ff90f commit 3fca8e4

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88
[![Infection MSI][Infection Image]][Infection Link]
99

1010
## Contents
11+
1112
- [Installation](#installation)
1213
- [Features](#features)
13-
- [Schema Builders](#schema-builders)
14-
- [ObjectBuilder and FieldBuilder](#objectbuilder-and-fieldbuilder)
15-
- [EnumBuilder](#enumbuilder)
16-
- [InterfaceBuilder](#interfacebuilder)
17-
- [UnionBuilder](#unionbuilder)
18-
- [Types](#types)
19-
- [DateTime](#%EF%B8%8F-datetime)
20-
- [Error Handling](#error-handling)
14+
- [Schema Builders](#schema-builders)
15+
- [ObjectBuilder and FieldBuilder](#objectbuilder-and-fieldbuilder)
16+
- [EnumBuilder](#enumbuilder)
17+
- [InterfaceBuilder](#interfacebuilder)
18+
- [UnionBuilder](#unionbuilder)
19+
- [Types](#types)
20+
- [DateTime](#%EF%B8%8F-datetime)
21+
- [Error Handling](#error-handling)
2122

2223
## Installation
2324

@@ -28,11 +29,10 @@ composer require simpod/graphql-utils
2829
```
2930

3031
## Features
31-
32+
3233
### Schema Builders
3334

34-
Instead of defining your schema as an array, use can use more objective-oriented approach.
35-
This library provides set of strictly typed builders that help you build your schema.
35+
Instead of defining your schema as an array, use can use more objective-oriented approach. This library provides set of strictly typed builders that help you build your schema.
3636

3737
#### ObjectBuilder and FieldBuilder
3838

@@ -269,7 +269,7 @@ $character = new UnionType(
269269
### Types
270270

271271
#### 🕰️ DateTime
272-
272+
273273
scalar type that produces `scalar DateTime` in your schema.
274274

275275
[`SimPod\GraphQLUtils\Type\DateTimeType`](https://github.com/simPod/GraphQL-Utils/blob/master/src/Type/DateTimeType.php)
@@ -340,15 +340,15 @@ Error types will then be provided in your response so client can easier identify
340340

341341
```json
342342
{
343-
"errors": [
344-
{
345-
"message": "No CustomerId provided",
346-
"extensions": {
347-
"type": "INVALID_CUSTOMER_ID_PROVIDED",
348-
"category": "graphql"
349-
}
350-
}
351-
]
343+
"errors": [
344+
{
345+
"message": "No CustomerId provided",
346+
"extensions": {
347+
"type": "INVALID_CUSTOMER_ID_PROVIDED",
348+
"category": "validation"
349+
}
350+
}
351+
]
352352
}
353353
```
354354

0 commit comments

Comments
 (0)