store.js icon indicating copy to clipboard operation
store.js copied to clipboard

Docs on plugin APIs. Pease Please Please

Open levblanc opened this issue 7 years ago • 4 comments

Test suites don't provide an intuitive usage on plugins.

I kept getting undefined when using the get method on a key that I set with expiration param. Looking at the get method, I just couldn't understand why such simple get/set could go wrong.

Then it took me almost an hour to figure out it was actually the problem of setting expirations: it should be an 'expireAt' rather than 'duration' when using expire plugin...

So please please please give docs on plugin APIs. Just to save the world and lives.

levblanc avatar Apr 12 '17 08:04 levblanc

+1

Mattwmaster58 avatar Apr 20 '17 01:04 Mattwmaster58

Anybody planning on doing this?

Could help if needed. It's just a matter of trial and error and then documenting it.

theirnameissam avatar Jun 16 '17 13:06 theirnameissam

I should lay the groundwork for this. Will be doing a slew of minor fixes and improvements this weekend, and will start this alongside that.

marcuswestin avatar Jun 16 '17 18:06 marcuswestin

Bump - this is still coming.

marcuswestin avatar Jun 20 '17 14:06 marcuswestin