issues
search
neume-network
/
strategies
Indexing strategies for the neume network.
GNU General Public License v3.0
11
stars
7
forks
source link
call-tokenuri must fail when resultKey isn't defined
#335
Open
TimDaub
opened
1 year ago
TimDaub
commented
1 year ago
https://github.com/neume-network/strategies/blob/57e4f2cf92f28307e7ed6d6a2c9d7ab810c82bf4/src/strategies/call-tokenuri/transformer.mjs#L20
it makes no sense that call-tokenuri runs without resultKey being defined as nobody would expect a result at a property titled "undefined"
So instead the strategy should error entirely and refuse to run
//cc @il3ven
//cc @il3ven