Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Serialize trait to configs #99

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

drdrsh
Copy link
Collaborator

@drdrsh drdrsh commented Jul 28, 2022

Following the guidelines of Rust, this PR adds Serialize trait to configs.

One use case I encountered, is the need to produce a config file from some source of data and it would be great if we can import the data structure into a Rust tool, generate the configs and serialize them into a pgcat.toml file. Adding the Serialize trait would make that much easier.

@drdrsh drdrsh marked this pull request as ready for review July 28, 2022 22:38
@levkk levkk merged commit 8a06fc4 into postgresml:main Jul 28, 2022
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