Skip to content

Conversation

@trygve-lie
Copy link
Contributor

Using gettersand setters have some downsides when using object spreading and for data objects returned from public APIs we want to be able to use object spreading as an end user expects it to work. Iow; remove setters and getters in favor of using properties defined on the object itself.

@trygve-lie trygve-lie requested a review from digitalsadhu March 23, 2021 09:54
@trygve-lie trygve-lie merged commit 0c55d59 into next Mar 23, 2021
@trygve-lie trygve-lie deleted the no-get-set branch March 23, 2021 10:21
@github-actions
Copy link

🎉 This PR is included in version 1.0.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Aug 8, 2022

🎉 This PR is included in version 2.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants