Skip to content
New issue

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

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

Already on GitHub? # to your account

Make SerializerOptions public property of IManagementClient #348

Open
inikulshin opened this issue Feb 18, 2025 · 1 comment
Open

Make SerializerOptions public property of IManagementClient #348

inikulshin opened this issue Feb 18, 2025 · 1 comment

Comments

@inikulshin
Copy link
Contributor

inikulshin commented Feb 18, 2025

It can be useful for logging.
And for serializing Infos for some of rabbitmqctl commands that require JSON parameters, like set_parameter or set_policy.

@Pliner @zidad wdyt?

@inikulshin
Copy link
Contributor Author

Maybe, more generic is to add

public string Serialize<TValue>(TValue value)

JsonSerializerOptions requires System.Text.Json, which is implementation details.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant