Open davegurnell opened 5 years ago
I will look at it, but I can't promise when, next couple of months are a bit… :(
On 31 Jul 2019, at 14:03, Dave Gurnell notifications@github.com wrote:
Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
export
type
SpreadsheetCell
=
[
string
,
number
];
We should extend this support to Elm and Scala!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
No worries. I have what I need for now. This is more of an if-and-when kind of thing. A nice-to-have.
On 2 August 2019 at 20:43:13, Pere Villega (notifications@github.com(mailto:notifications@github.com)) wrote:
I will look at it, but I can't promise when, next couple of months are a bit… :(
On 31 Jul 2019, at 14:03, Dave Gurnell notifications@github.com wrote:
Version 0.18 added TsType.Tuple and FlowType.Tuple to encode tuple Typescript and Flow tuple types:
export
type
SpreadsheetCell
=
[
string
,
number
];
We should extend this support to Elm and Scala!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub(https://github.com/davegurnell/bridges/issues/24?email_source=notifications&email_token=AABYRZ76MZ76PLAVOU4IRKTQCSE5DA5CNFSM4IIGOJT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3OVOFY#issuecomment-517822231), or mute the thread(https://github.com/notifications/unsubscribe-auth/AABYRZ2DSX6MMTCQFFY3TJLQCSE5DANCNFSM4IIGOJTQ).
Version 0.18 added
TsType.Tuple
andFlowType.Tuple
to encode tuple Typescript and Flow tuple types:We can currently create these types using the DSL:
However, we can't yet map Scala tuples onto them using
decl[T]
. If we can add tuple support to Elm's model, we can write somescala.TupleX
encoders using shapeless of sbt-boilerplate.