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

feat(keyPath): Use WritableKeyPath instead of KeyPath #50

Merged
merged 6 commits into from
Jul 18, 2023

Conversation

pjechris
Copy link
Owner

⚽️ Description

Require usage of WritableKeyPath. Until now we were relying on UnsafeMutablePointer to transform Keypath as mutable/writable.

This made the code more complex and it probably makes to say that only entities defined as var are writable.

This opens up simpler solutions for adopting support for enum.

If we ever need we'll go back to old implementation but I don't expect so and for now... let's keep things as simple as possible.

🔨 Implementation details

  • Removed UnsafeMutablePointer extension
  • Removed BufferedCollection
  • Replaced most of KeyPath by WritableKeyPath

@pjechris pjechris added feature New feature or request breaking change Code that add significant changes labels Jul 18, 2023
@pjechris pjechris merged commit 774f51b into main Jul 18, 2023
@pjechris pjechris deleted the feat/use-writableKeyPath branch July 18, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Code that add significant changes feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant