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

GraphQLError: use enumerable properties #3311

Merged
merged 1 commit into from Oct 12, 2021

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.

None yet

1 participant