We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9816e commit 644cccbCopy full SHA for 644cccb
lib/typed_structor/plugin.ex
@@ -54,7 +54,8 @@ defmodule TypedStructor.Plugin do
54
@type t() :: %MyApp.User{
55
__meta__: Ecto.Schema.Metadata.t(),
56
age: integer() | nil,
57
- id: integer(), name: String.t(),
+ id: integer(),
58
+ name: String.t(),
59
password: String.t() | nil,
60
posts: [MyApp.Post.t()] | nil
61
}
@@ -82,7 +83,8 @@ defmodule TypedStructor.Plugin do
82
83
related_key: :user_id,
84
on_cast: nil,
85
queryable: MyApp.Post,
- on_delete: :nothing, on_replace: :raise,
86
+ on_delete: :nothing,
87
+ on_replace: :raise,
88
where: [],
89
unique: true,
90
defaults: [],
0 commit comments