Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed May 26, 2024
1 parent c849e0e commit dc9cc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vuepress/docs/docs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ given Schema[Any, Origin] = Schema.Auto.derived
<code-block title="Scala 3 (Custom schema)">

```scala
import caliban.schema.Schema
import caliban.schema.SchemaDerivation

trait MyEnv
object EnvSchema extends Schema.SchemaDerivation[MyEnv]
object EnvSchema extends SchemaDerivation[MyEnv]

enum Origin derives EnvSchema.Auto {
case EARTH, MARS, BELT
Expand Down

0 comments on commit dc9cc29

Please sign in to comment.