Skip to content

Conversation

yh-0
Copy link
Contributor

@yh-0 yh-0 commented Sep 5, 2025

@yh-0 yh-0 requested a review from poissoncorp September 8, 2025 10:05
return {
"RavenConnectionStrings": self._raven_connection_strings,
"SqlConnectionStrings": self._sql_connection_strings,
"OlapConnectionStrings": self._olap_connection_strings,
Copy link
Contributor

Choose a reason for hiding this comment

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

last thing - shouldn't you call to_json on each connection string object from this collection? like this

Suggested change
"OlapConnectionStrings": self._olap_connection_strings,
"OlapConnectionStrings": [olap_cs.to_json() for olap_cs in self._olap_connection_strings],

also in from_json - you need to call from_json on each dict in json_dict["RavenConnectionString"]

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