Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a starting fragment #134

Merged
merged 1 commit into from
Jan 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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