reagent-project / reagent-forms

Bootstrap form components for Reagent
339 stars 78 forks source link

Allow BYO id paths #72

Closed noesis-software closed 8 years ago

noesis-software commented 8 years ago

I have a complex data structure with maps within a vector that I cannot access with the current string-based path parsing. E.g.

{:foo [{:bar 42 :baz 43} ...]}

This allows you to bring your own path to access like:

[:foo 0 :bar]

I also considered parsing integer indexes and converting those (:foo.0.bar) but this seemed more flexible.

yogthos commented 8 years ago

looks good

noesis-software commented 8 years ago

Thanks for the speedy response!

yogthos commented 8 years ago

no problem, I'll get this pushed out to Clojars tonight