expected return object for approveDomains #15
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele
K dispozici není žádný popis.
Smazat větev „%!s()“
Smazání větve je trvalé. Přestože zrušená větev může existovat i po krátkou dobu, než bude skutečně odstraněna, NELZE ji většinou vrátit. Pokračovat?
In this video you mention that in a later version, a custom approveDomains function will be expected to return only
opts
, not an object withopts
andcerts
keys. Will this change be breaking? Or could it expect the returned object to be arranged either way?https://youtu.be/bTEn93gxY50?t=408
Well, since I can check fn.length I suppose I could introduce it in v2.
But when v3 hits I’ll probably want to break it hard and reduce code size. It does too much already. Now that it’s fully implemented and all the discovery is done it can be refined.
This is now available in a backwards-compatible fashion in the v2.5 branch