Skip to content

Conversation

@bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Jun 8, 2023

The notificationFilter config was not mapped correctly to the Config type. So, the driver was not offering the correct auto-complete and type support for this configuration on the neo4j.driver factory.

The disconnection between the configuration object and the documentation was the root cause of the issue, since the filter was correctly documented.

For solving this issue, the Config documentation was moved to live along with its definition. The interface was promoted to class to make it happen. However, the class constructor can only be used internally and for the api point of view, the Config still behaving as an interface.

The `notificationFilter` config was not mapped correctly to the `Config` type.
So, the driver was not offering the correct auto-complete and type support for this configuration
on the `neo4j.driver` factory.

The disconnection between the configuration object and the documentation was the root cause of the issue,
since the filter was correctly documented.

For solving this issue, the `Config` documentation was moved to live along with its definition.
The interface was promoted to class to make it happen.
Howevever, the class constructor can only be used internally and for the api point of view,
the `Config` still behaving as an interface.
bigmontz and others added 2 commits June 8, 2023 16:04
@ConorNeo ConorNeo self-requested a review June 9, 2023 07:37
Copy link
Contributor

@stefano-ottolenghi stefano-ottolenghi left a comment

Choose a reason for hiding this comment

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

🦸

@bigmontz bigmontz merged commit 973dbd6 into neo4j:5.0 Jun 9, 2023
@bigmontz bigmontz deleted the improve-driver-config branch June 9, 2023 12:26
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.

3 participants