Skip to content

Conversation

IvanGoncharov
Copy link
Member

Since we now provide toJSON method it means it's finally safe to use
enumerable properties and convert class into idiomatic TS.
Previously TS didn't check Object.defineProperties so we could only
only define optional properties on this class.

Since we now provide `toJSON` method it means it's finally safe to use
enumerable properties and convert class into idiomatic TS.
Previously TS didn't check `Object.defineProperties` so we could only
only define optional properties on this class.
@IvanGoncharov IvanGoncharov added the PR: breaking change 💥 implementation requires increase of "major" version number label Oct 12, 2021
@IvanGoncharov IvanGoncharov merged commit 82900fa into graphql:main Oct 12, 2021
@IvanGoncharov IvanGoncharov deleted the pr_branch branch October 12, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: breaking change 💥 implementation requires increase of "major" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant