Implement derivation keys for tuple encoders

This commit is contained in:
Ayaz Hafiz 2023-03-22 11:19:47 -05:00
parent a361c4cfc1
commit e5fcb05a2d
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 20 additions and 3 deletions

View file

@ -30,6 +30,7 @@ pub(crate) fn derive_to_encoder(
FlatEncodableKey::List() => to_encoder_list(env, def_symbol),
FlatEncodableKey::Set() => todo!(),
FlatEncodableKey::Dict() => todo!(),
FlatEncodableKey::Tuple(_arity) => todo!(),
FlatEncodableKey::Record(fields) => {
// Generalized record var so we can reuse this impl between many records:
// if fields = { a, b }, this is { a: t1, b: t2 } for fresh t1, t2.