Karthikeya1500 commented on PR #5941:
URL: https://github.com/apache/couchdb/pull/5941#issuecomment-4129500107
"Thanks so much for providing that snippet, @nickva! I've added your test to
couch_js_tests.erl
and pushed it up to the PR so we have the coverage down.
As for how I found it: I was actually just exploring the codebase to
understand how the QuickJS dispatcher is implemented compared to the
SpiderMonkey engine (
loop.js
). While I was reading through the code to understand the query server
architecture, I noticed the missing cmdkey declaration in the default switch
handler and realized it would throw a ReferenceError. So no custom indexing
layer just yet, but I'm learning a lot about how CouchDB dispatches JS queries!"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]