There was an error while loading. Please reload this page.
1 parent cd129da commit 13c6022Copy full SHA for 13c6022
1 file changed
meta/json/codec.go
@@ -16,12 +16,12 @@ type Codec interface {
16
Encode(m *Model) ([]byte, error)
17
}
18
19
-var _ Codec = GenericCodec{}
20
-
21
type genericFile struct {
22
Tables map[string]map[string]json.RawMessage `json:"tables"`
23
24
+var _ Codec = GenericCodec{}
+
25
// GenericCodec persists a Model as {"tables":{...}} for
26
// namespaces with no legacy format (contract tests, future additions).
27
// Insertion order is not preserved across reload: tables refill sorted by id.
0 commit comments