Skip to content

Commit

Permalink
Don't reject tuple arguments on the client side
Browse files Browse the repository at this point in the history
Right now we reject them on the server side. If that is fixed,
they work fine on the client.
  • Loading branch information
msullivan committed Oct 4, 2022
1 parent b11b991 commit bb8e835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edgedb/protocol/codecs/base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ cdef class BaseRecordCodec(BaseCodec):
for codec in self.fields_codecs:
if not isinstance(
codec,
(ScalarCodec, ArrayCodec, EnumCodec, RangeCodec),
(ScalarCodec, ArrayCodec, TupleCodec,
EnumCodec, RangeCodec),
):
self.encoder_flags |= RECORD_ENCODER_INVALID
break
Expand Down

0 comments on commit bb8e835

Please sign in to comment.