Repository navigation
Tags
Tags
feat: add compile-time generators for views, AutoPersist, validation,… … and Android controls (#554) - Add [RegisterView] and [RegisterView<TViewModel>] to generate GeneratedViewRegistrations.RegisterGeneratedViews for IReactiveUIBuilder without assembly scanning. - Add [AutoPersist] to generate static AutoPersistMetadata from [DataContract] and [DataMember] attributes at compile time. - Add [ReactiveValidation] to generate ConfigureValidation() wiring DataAnnotations attributes onto ReactiveProperty<T> properties via the reflection-free AddValidation overload. - Add [WireUpControls], [WireUpResource], and [IgnoreResource] in ReactiveUI.SourceGenerators.Android to generate compile-time FindViewById wiring. - Update public API baselines, documentation, and unit and incremental caching tests.
feat: add compile-time generators for views, AutoPersist, validation,… … and Android controls (#554) - Add [RegisterView] and [RegisterView<TViewModel>] to generate GeneratedViewRegistrations.RegisterGeneratedViews for IReactiveUIBuilder without assembly scanning. - Add [AutoPersist] to generate static AutoPersistMetadata from [DataContract] and [DataMember] attributes at compile time. - Add [ReactiveValidation] to generate ConfigureValidation() wiring DataAnnotations attributes onto ReactiveProperty<T> properties via the reflection-free AddValidation overload. - Add [WireUpControls], [WireUpResource], and [IgnoreResource] in ReactiveUI.SourceGenerators.Android to generate compile-time FindViewById wiring. - Update public API baselines, documentation, and unit and incremental caching tests.
feat(binding)!: take property paths as delegates so call sites build … …no expression tree (#549) feat(binding)!: take property paths as delegates - Take each path selector as Func<TSource, TValue> in the binding stubs, the generated overloads and the interceptors. An expression tree parameter makes the compiler build the tree at every call site. - Keep Expression<Func<TSource, TValue>> on the Unsafe overloads, which read the tree by reflection. - Read a path written with ?. as the members it names. - Add RXUIBIND022 for a selector that is not a property path. - Mark selector lambdas static in the examples, tests and benchmarks. BREAKING CHANGE: the plain binding methods take Func<TSource, TValue>. Pass a stored expression to the Unsafe overload.
feat(binding)!: take property paths as delegates so call sites build … …no expression tree (#549) feat(binding)!: take property paths as delegates - Take each path selector as Func<TSource, TValue> in the binding stubs, the generated overloads and the interceptors. An expression tree parameter makes the compiler build the tree at every call site. - Keep Expression<Func<TSource, TValue>> on the Unsafe overloads, which read the tree by reflection. - Read a path written with ?. as the members it names. - Add RXUIBIND022 for a selector that is not a property path. - Mark selector lambdas static in the examples, tests and benchmarks. BREAKING CHANGE: the plain binding methods take Func<TSource, TValue>. Pass a stored expression to the Unsafe overload.
fix: correct binding setup and helper replacement (#547) * fix: release partial two-way bindings - Dispose the forward subscription when reverse setup fails. - Cover generated and runtime binding failures. - Demonstrate failed setup without retaining the source. * fix: read replacement property helper values - Give a helper being initialized priority over the assigned helper. - Keep listeners current when activation replaces a helper. - Demonstrate helper replacement with an observed property.
fix: correct binding setup and helper replacement (#547) * fix: release partial two-way bindings - Dispose the forward subscription when reverse setup fails. - Cover generated and runtime binding failures. - Demonstrate failed setup without retaining the source. * fix: read replacement property helper values - Give a helper being initialized priority over the assigned helper. - Keep listeners current when activation replaces a helper. - Demonstrate helper replacement with an observed property.
PreviousNext