File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,25 +31,25 @@ import (
3131)
3232
3333var supportedEntityAnnotations = map [string ]bool {
34- "transient" : true ,
3534 "name" : true ,
36- "uid" : true ,
3735 "relation" : true , // to-many, standalone
3836 "sync" : true ,
37+ "transient" : true ,
38+ "uid" : true ,
3939}
4040
4141var supportedPropertyAnnotations = map [string ]bool {
42- "transient" : true ,
4342 "date" : true ,
4443 "date-nano" : true ,
4544 "id" : true ,
45+ "id-companion" : true ,
4646 "index" : true ,
47- "relation" : true , // to-one
4847 "name" : true ,
48+ "optional" : true ,
49+ "relation" : true , // to-one
50+ "transient" : true ,
4951 "uid" : true ,
5052 "unique" : true ,
51- "id-companion" : true ,
52- "optional" : true ,
5353}
5454
5555// fbSchemaReader reads FlatBuffers schema and populates a model
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type uid = uint64
3838type id = uint32
3939
4040var supportedEntityAnnotations = map [string ]bool {
41- "transient" : true ,
4241 "name" : false , // TODO
43- "uid" : true ,
4442 "sync" : true ,
43+ "transient" : true ,
44+ "uid" : true ,
4545}
4646
4747var supportedPropertyAnnotations = map [string ]bool {
You can’t perform that action at this time.
0 commit comments