Skip to content

Commit

Permalink
docs: do format
Browse files Browse the repository at this point in the history
  • Loading branch information
fahchen committed Jul 1, 2024
1 parent 9a9816e commit 644cccb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/typed_structor/plugin.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ defmodule TypedStructor.Plugin do
@type t() :: %MyApp.User{
__meta__: Ecto.Schema.Metadata.t(),
age: integer() | nil,
id: integer(), name: String.t(),
id: integer(),
name: String.t(),
password: String.t() | nil,
posts: [MyApp.Post.t()] | nil
}
Expand Down Expand Up @@ -82,7 +83,8 @@ defmodule TypedStructor.Plugin do
related_key: :user_id,
on_cast: nil,
queryable: MyApp.Post,
on_delete: :nothing, on_replace: :raise,
on_delete: :nothing,
on_replace: :raise,
where: [],
unique: true,
defaults: [],
Expand Down

0 comments on commit 644cccb

Please sign in to comment.