basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

Allow multiple wildcards in a single mapping #139

Open hanikesn opened 10 years ago

hanikesn commented 10 years ago

It's currently possible to use multiple variables in a single mapping. But include_default doesn't work very well with that.

joedevivo commented 10 years ago

I'd say it's a very loose 'possible'. Some things will work and others not, so at this point you can use at your own risk.

That being said, I've never had a good example of a mapping with multiple wildcards to try and test. Would you mind showing us your example?

hanikesn commented 10 years ago

I implemented this because of uriak_pool. You can specify multiple riak clusters with multiple riak nodes in the config. My current schema is not pretty but it work.

hanikesn commented 10 years ago

Sorry, my mistake. :)