Fork me on GitHub
#malli
<
2019-12-10
>
eskos06:12:51

It’s Finnish for model (in both shape, example and fashion model sense), yes 🙂

Toni Vanhala07:12:35

and mälli is chewing tobacco 😉

eskos10:12:35

or heavy impact 🙃

👍 4
roklenarcic16:12:31

is there some way to have a schema like `

s/keys*

roklenarcic16:12:59

Namely I’d like to generate sample function arguments, so I need a schema that describes function input

roklenarcic16:12:42

but the function is defined as [arg1 arg2 & {:keys [arg3 arg4]}

ikitommi16:12:38

@roklenarcic there are no sequence schemas like that, yet. Feature Request welcome.

ikitommi16:12:35

definetely interested in having that, ideas on impl also welcome.

ikitommi16:12:08

@rschmukler haven't had time to check the rename keys, will do that when next time doing anything for malli. Good thing is that you can depend your fork that's to deps.

rschmukler17:12:33

@ikitommi checking your latest recommendation but I think I'll be able to break it 😛

rschmukler17:12:02

Ah, I think I figured it out!

rschmukler18:12:47

@ikitommi updated https://github.com/metosin/malli/pull/132 with something less abstract so you can see why it's difficult as currently implemented

ikitommi18:12:44

thanks, will try to find an elegant way to resolve.