expected return object for approveDomains #15
Загрузка…
x
Ссылка в новой задаче
Block a user
Описание отсутствует.
Удалить ветку «%!s()»
Удаление ветки необратимо. Несмотря на то, что удаленная ветка может просуществовать некоторое время перед тем, как она будет окончательно удалена, это действие НЕВОЗМОЖНО отменить в большинстве случаев. Продолжить?
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