Skip to content

Conversation

bradenmacdonald
Copy link
Contributor

While I was working on a Deno driver for Neo4j that uses this codebase, I found that Deno was detecting some invalid imports in the code.

In particular, a few places in the code try to import a constant called ALL from bolt/request-message.js, but that constant was renamed a year ago to FETCH_ALL.

I'm not sure why the existing tooling didn't catch this import error or why Node/TypeScript didn't complain about it.

For the other changes, I'll add an inline comment in this PR to explain them.

This fixes:
SyntaxError: The requested module './request-message.js' does not provide an export named 'ALL'
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good, just a minor issue with Chunker importing.

Thanks for your contribution.

@bigmontz bigmontz merged commit c7f370d into neo4j:4.4 Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants