nutritious-telephone-58961
11/14/2024, 1:27 AMthankful-minister-83577
high-accountant-32689
11/14/2024, 1:37 AMdamp-lion-88352
11/14/2024, 1:58 AMdamp-lion-88352
11/14/2024, 1:58 AMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
nutritious-telephone-58961
11/14/2024, 2:16 AMcool-lifeguard-49380
11/14/2024, 7:31 AMmetadata
but via its type_structure which effectively is also a schema.
I kinda dislike that for cache checks we’ll use the type_structure schema but if your type transformer wants to take part in the union ambiguity solving logic, you need to also provide the schema in a specific format as the literal type’s metadata. I wished there was a single way to provide the schema to the backend that is used for everything. Not sure if it’s possible to use the type structure object to solve the union problem though.damp-lion-88352
11/15/2024, 3:41 AMOne thing I still dislike a bit:
For cache checks, we don’t detect schema changes via a schema potentially provided in the literal typesbut via its type_structure which effectively is also a schema.metadata
I kinda dislike that for cache checks we’ll use the type_structure schema but if your type transformer wants to take part in the union ambiguity solving logic, you need to also provide the schema in a specific format as the literal type’s metadata. I wished there was a single way to provide the schema to the backend that is used for everything. Not sure if it’s possible to use the type structure object to solve the union problem though. (edited)this is a good point, but I think we should put this as a low priority
damp-lion-88352
11/15/2024, 3:41 AMdamp-lion-88352
11/15/2024, 3:41 AM