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

Include raw response in the object #546

Open
vgregoirecoveo opened this issue Feb 9, 2022 · 1 comment
Open

Include raw response in the object #546

vgregoirecoveo opened this issue Feb 9, 2022 · 1 comment

Comments

@vgregoirecoveo
Copy link
Contributor

Since all the fields are not availables on all objects, it would be useful to include the raw response directly in the object. This would give the SDK users a greater flexibility in using the response from the API. It would also help in the case of Zendesk adding a new field on an object by making it available without having to wait for a change in the SDK.

Please let me know what you think of this!

@mozts2005
Copy link
Member

I would be willing to add this option to the library. using the Newtonsoft.Json JsonExtensionData would likely be the best option but testing with the Zendesk API would need to be done to make sure this work Bidirectionally and that the API will not fail with an error when read-only values are added by the Zendesk team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants