Dmitry Munda
05/06/2022, 10:13 PM{z:[a,b,[d,e]]}
->`{z:[a,b,c,[d,e,f]]}`
where a
and d
is one term and b
c
e
f
other ( same ) termYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Dmitry Munda
05/06/2022, 10:26 PMDmitry Munda
05/06/2022, 10:27 PMDmitry Munda
05/06/2022, 10:27 PMf
is kinda easy ( probably )
with c
is painYousaf Nabi (pactflow.io)
f
or c
don't exist.
have you read this https://docs.pact.io/faq#why-is-there-no-support-for-specifying-optional-attributes?Dmitry Munda
05/06/2022, 10:30 PMDmitry Munda
05/06/2022, 10:30 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Dmitry Munda
05/06/2022, 10:31 PMDmitry Munda
05/06/2022, 10:39 PMwhereso someanda
is one term andd
b
c
e
other ( same ) termf
{z:[like(a),eachLike(b),[like(a),eachLike(b)]]}
could work, but i didnt managed to make that work 😞Yousaf Nabi (pactflow.io)
Dmitry Munda
05/06/2022, 10:48 PMBoris
05/09/2022, 4:35 AMz
is a list of elements that can be either a something or a list of somethings? How deep does that typing nest (is it recursive, or just 1-deep)? Or are they heterogeneous? 🤔Dmitry Munda
05/09/2022, 6:08 AMDmitry Munda
05/09/2022, 6:10 AMa
and d
Dmitry Munda
05/09/2022, 6:11 AMa
or d
Dmitry Munda
05/09/2022, 6:12 AM