Skip to content

Conversation

@stellasia
Copy link
Contributor

@stellasia stellasia commented May 15, 2025

Description

Refactor ConfigReader to make it more generic so that it can be used to read SchemaConfig from file.

  • Renamed ConfigRead to FileHandler
  • Added support for read/write operations
  • Added a FileFormat enum and format= parameter in order to get rid of the public read_json, read_yaml... methods. This simplifies the code as some common treatments such as checking file existence can be factorized into the read (write) methods only.

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

Complexity: Low

How Has This Been Tested?

  • Unit tests
  • E2E tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • E2E tests have been updated
  • Examples have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed
  • CHANGELOG.md updated if appropriate

@stellasia stellasia requested a review from a team as a code owner May 15, 2025 11:40
@stellasia stellasia force-pushed the refactor/config-reader branch from 309b022 to 301dbee Compare May 26, 2025 12:07
@stellasia stellasia requested a review from NathalieCharbel June 9, 2025 12:17
@stellasia stellasia force-pushed the refactor/config-reader branch from 0e3578f to 5c1c8b6 Compare June 9, 2025 14:15
Copy link
Contributor

@NathalieCharbel NathalieCharbel left a comment

Choose a reason for hiding this comment

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

LGTM now :)

@stellasia stellasia merged commit 987abf6 into neo4j:main Jun 10, 2025
7 checks passed
@stellasia stellasia deleted the refactor/config-reader branch June 16, 2025 15:17
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