askql
askql copied to clipboard
Simplify call(get('get'),'n') in generated AskCode
- See that
call(get('get'),'n')
is the same asget('n')
. - Search for *.askcode files that have this pattern.
- Generalise this simplification.
- Document it and create a PR for it.
- Figure out how our test runner works for *.ask files.
- The area to fix is either askjsx or the askscript prettier plugin.
@mhagmajer only call(get('get'),'n')
or all patern call(get('get'),'.......')
?
vs
@km4 all, naturally :)
@mhagmajer fine, assign this issue to me and I change all this whole get()
@km4 you got it 👏
@mhagmajer should be changedconst askScript = ask(f(call(get('toUpperCase'), call(get('get'),'hello'))));
in /src/askExpressMiddleware/askExpressMiddleware.spec.ts
? to ask(f(call(get('toUpperCase'), call(get('hello')))));
?