We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 482c9d8 commit 581f1c5Copy full SHA for 581f1c5
schema.go
@@ -44,16 +44,16 @@ A type mismatch occurs if a value cannot be converted to a different type withou
44
modifying it, parsing it, etc.
45
46
Examples of a type mismatch (src -> dst):
47
- string -> int
48
- int -> string
49
- bool -> int
50
- float -> int
51
- null -> string
+ string -> int
+ int -> string
+ bool -> int
+ float -> int
+ null -> string
52
53
Examples of allowed type conversions (src -> dst):
54
- int -> float
55
- <T> -> *<T>
56
- null -> *<T>
+ int -> float
+ <T> -> *<T>
+ null -> *<T>
57
58
Embedded structs work as you might expect. The fields of the struct are treated as
59
if they were hardcoded into dst. In other words, embedding does not change how
0 commit comments