Andy Day
b1e76d1a05
entc/gen: fix entql generation for ID types of Bytes, etc. ( #2157 )
...
* Fix entql generation for ID types of Bytes, etc.
I was running into an issue trying to use a Bytes fieldas the ID field in a Schema, and it appears there is an currently an issue with using a Bytes field as the ID field in the entql codegen (it was outputing a function . I belive this should fix it (I tested this by adding the entql flag to the custom id integration test). I wasn't sure if the other cases I added (e.g. an ID field that is json type / time type / etc.) are actually sane ID field types, but if those don't make any sense I can remove some of those from the added conditionals.
* remove redundant line
2021-11-24 13:53:45 +02:00
..
2021-09-27 17:49:57 +03:00
2021-07-22 12:19:39 +03:00
2021-09-29 18:31:01 +03:00
2021-07-22 12:19:39 +03:00
2021-02-02 23:03:04 +02:00
2021-07-22 12:19:39 +03:00
2021-09-29 18:31:01 +03:00
2021-11-08 15:56:15 +02:00
2021-03-07 22:51:17 +02:00
2021-07-22 12:19:39 +03:00
2021-07-22 12:19:39 +03:00
2021-09-29 18:31:01 +03:00
2021-02-02 23:03:04 +02:00
2021-09-29 18:31:01 +03:00
2021-09-29 18:31:01 +03:00
2021-07-22 12:19:39 +03:00
2021-11-07 23:09:02 +02:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-27 17:49:57 +03:00
2021-09-27 17:49:57 +03:00
2021-10-08 08:20:05 +03:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-07 09:53:44 +03:00
2021-09-29 18:31:01 +03:00
2021-09-29 18:31:01 +03:00
2021-01-04 14:34:40 +02:00
2021-11-07 23:09:02 +02:00
2021-09-29 18:31:01 +03:00
2021-11-08 15:56:15 +02:00
2021-09-29 18:31:01 +03:00
2021-09-29 18:31:01 +03:00
2021-11-07 23:09:02 +02:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-20 14:44:31 +03:00
2021-09-29 18:31:01 +03:00
2021-11-24 13:53:45 +02:00
2021-11-24 13:53:45 +02:00
2021-10-08 08:20:05 +03:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-07 09:53:44 +03:00
2021-11-07 23:09:02 +02:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-07 09:53:44 +03:00
2021-11-03 23:16:56 +02:00
2021-11-07 23:09:02 +02:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-17 13:45:51 +03:00
2021-11-07 23:09:02 +02:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-07 09:53:44 +03:00
2021-09-29 18:31:01 +03:00
2021-11-07 23:09:02 +02:00
2021-09-29 18:31:01 +03:00
2021-11-08 15:56:15 +02:00
2021-09-29 18:31:01 +03:00
2021-09-29 18:31:01 +03:00
2021-10-12 10:29:58 +03:00
2021-10-08 08:20:05 +03:00
2021-07-19 11:25:52 +03:00
2021-11-08 15:56:15 +02:00
2021-09-07 18:33:32 +03:00
2021-04-07 09:53:44 +03:00