Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing codec for ReadonlyTuple #619

Open
SRachamim opened this issue Nov 17, 2021 · 1 comment
Open

Missing codec for ReadonlyTuple #619

SRachamim opened this issue Nov 17, 2021 · 1 comment

Comments

@SRachamim
Copy link

🚀 Feature request

Current Behavior

Currently we have t.tuple and t.readonly.

Desired Behavior

We need a t.readonlyTuple, which is an abstraction to flow(t.tuple, t.readonly). We can't really use this flow solution because t.tuple has overloads and flow takes only the first one (which is an unary tuple), but t.readonlyTuple should support all available overloads (up to penta-tuple).

We already have t.readonlyArray, so it makes sense to have the same abstraction also for t.tuple.

@yoavShaked
Copy link

I found many use cases in my firm to use t.readonlyTuple , it will be much helpful for us
it make sense to have readonlyTuple sense we have readonlyArray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants