whitfin / cachex

A powerful caching library for Elixir with support for transactions, fallbacks and expirations
https://hexdocs.pm/cachex/
MIT License
1.61k stars 105 forks source link

Add support for startup matching documentation #384

Closed whitfin closed 1 month ago

whitfin commented 1 month ago

Fixes #383.

The current documentation is incorrect, but rather than just change the docs we can make it correct! This just adds some grace handling to some child_spec formats.

It matches how you'd call it interactively, so I think it's quite beginner friendly to support these new formats. I kinda thought they were already there anyway...