Skip to content

Conversation

@DiscoPYF
Copy link
Collaborator

@DiscoPYF DiscoPYF commented Jul 4, 2022

fix #388

The property DefaultOptions was creating a new instance of ApiClientSerializationOptions each time it was accessed. I have modified the property to not return a new instance every time it is accessed. A new unit test was added to cover this behavior.

@DiscoPYF DiscoPYF force-pushed the fixModifyingDefaultOptions branch from cd0583e to 17dc08a Compare July 4, 2022 11:46
@DiscoPYF DiscoPYF force-pushed the fixModifyingDefaultOptions branch from 17dc08a to 3839fc5 Compare July 4, 2022 11:49
@DiscoPYF DiscoPYF requested a review from tjoubert July 4, 2022 18:35
Copy link
Contributor

@Zyqsempai Zyqsempai left a comment

Choose a reason for hiding this comment

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

LGTM

@DiscoPYF DiscoPYF merged commit c6eb7d6 into ArangoDB-Community:master Jul 5, 2022
@DiscoPYF DiscoPYF deleted the fixModifyingDefaultOptions branch July 5, 2022 12:54
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.

Default serialization options cannot be modified

2 participants