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

Make type of get/set propagate to static view model property #508

Merged
merged 15 commits into from
May 1, 2023

Conversation

marner2
Copy link
Collaborator

@marner2 marner2 commented Aug 7, 2022

Need this in Getter and Setter helpers where you need to keep the type around longer, but box/unbox it before storing/retrieving it from the static type's storage.

Implements full feature that allows for static type of binding specifiers to bubble all the way up to the property.

Merge after #511 and #475(Merged)

Should wait until after #522 so that it can include the actual usages (as explained below).

EDIT: this may not be necessary, as we may always be able to just unbox things on their way out once #512 is merged in in those getters. Combined with #512

@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from 90ca052 to 8f868d7 Compare August 15, 2022 17:01
@marner2 marner2 marked this pull request as draft August 17, 2022 13:10
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch 4 times, most recently from 7ebaf35 to c9a4558 Compare September 9, 2022 01:16
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch 2 times, most recently from 99c91e6 to fcb38e5 Compare September 16, 2022 16:55
@marner2 marner2 mentioned this pull request Sep 16, 2022
41 tasks
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch 2 times, most recently from e7ff88e to a30d184 Compare September 17, 2022 17:43
@marner2 marner2 marked this pull request as ready for review October 2, 2022 22:29
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from a30d184 to cd861ad Compare October 3, 2022 16:24
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from cd861ad to 94ac988 Compare November 1, 2022 01:31
@marner2 marner2 marked this pull request as draft November 1, 2022 01:32
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from 94ac988 to 139b7eb Compare November 1, 2022 01:39
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from 02929c4 to 3cc05e9 Compare December 9, 2022 20:40
@marner2 marner2 force-pushed the feature/add_map_binding_vm_helper_type branch from 3cc05e9 to ecc380b Compare April 5, 2023 00:01
@marner2 marner2 changed the title Add map binding vm helper type Make type of get/set propagate to static view model property Apr 5, 2023
@marner2 marner2 marked this pull request as ready for review April 5, 2023 00:04
src/Elmish.WPF/BindingVmHelpers.fs Outdated Show resolved Hide resolved
@marner2 marner2 merged commit a74c68c into elmish:master May 1, 2023
@marner2 marner2 deleted the feature/add_map_binding_vm_helper_type branch May 1, 2023 19:31
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