Skip to content

Add enforce_read_only parameter to overriding as_json functions#225

Merged
mrashed-dev merged 1 commit into
mainfrom
TSDK-330-fix-type-error-when-used-as-json-to-get-the-event-details
Jun 28, 2022
Merged

Add enforce_read_only parameter to overriding as_json functions#225
mrashed-dev merged 1 commit into
mainfrom
TSDK-330-fix-type-error-when-used-as-json-to-get-the-event-details

Conversation

@mrashed-dev

Copy link
Copy Markdown
Contributor

Description

In the last release we added enforce_read_only to the as_json function (#222) but only on the top level one. Some models overrided this function but was missing this parameter, so this adds it in.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@mrashed-dev mrashed-dev requested review from a team, dominicj-nylas, hafsakhalid, jaykim97 and ruomindaniel and removed request for a team, jaykim97 and ruomindaniel June 27, 2022 18:06

@hafsakhalid hafsakhalid left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

@mrashed-dev mrashed-dev merged commit a43da62 into main Jun 28, 2022
@mrashed-dev mrashed-dev deleted the TSDK-330-fix-type-error-when-used-as-json-to-get-the-event-details branch June 28, 2022 18:44
@mrashed-dev mrashed-dev mentioned this pull request Jun 30, 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