Skip to content

Commit

Permalink
Merge pull request #134 from wsargent/patch-2
Browse files Browse the repository at this point in the history
Fix a starting fragment
  • Loading branch information
eed3si9n authored Jan 25, 2019
2 parents 7f0e6c4 + 30d8297 commit 6390134
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/01-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ Contraband comes with a set of default scalar types out of the box:
- `Short`
- `Double`

You can also use Java and Scala class names such as 'java.io.File'.
You can also use Java and Scala class names such as `java.io.File`.

This case, you would have to also supply how the type should be serialized and deserialized.
If you use class names such as `java.io.File`, you would have to also supply how the type should be serialized and deserialized.

### Enumeration types

Expand All @@ -122,8 +122,7 @@ This means that wherever we use the type `Episode` in our schema, we expect it t

### Required type

Record types and enums are the only kinds of types you can define in Contraband. But when you use the types in other parts of the schema,
you can apply additional type modifiers that affect validation of those values. Let's look at an example:
Record types and enums are the only kinds of types you can define in Contraband. But when you use the types in other parts of the schema, you can apply additional type modifiers that affect validation of those values. Let's look at an example:

```
package com.example
Expand Down

0 comments on commit 6390134

Please sign in to comment.