importing presto/client reveals that presto is missing the encodeBytes proc
monyarm opened this issue · 1 comments
monyarm commented
/home/monyarm/.nimble/pkgs/presto-0.0.4/presto/client.nim(808, 21) Error: undeclared identifier: 'encodeBytes'
candidates (edit distance, scope distance); see '--spellSuggest':
(4, 10): 'getBodyBytes' [proc declared in /home/monyarm/.nimble/pkgs/chronos-#asyncproc/chronos/apps/http/httpclient.nim(1145, 6)]
(4, 10): 'getBodyBytes' [proc declared in /home/monyarm/.nimble/pkgs/chronos-#asyncproc/chronos/apps/http/httpclient.nim(1169, 6)]
presto uses the proc, but doesn't define it outside of tests/helpers
mratsim commented
encodeBytes
is an application-defined proc. You need to write it yourself for the types you use.
I do agree that this should be mentioned in the README