reactiveui / ReactiveUI.Validation

Validation helpers for ReactiveUI-based apps.
https://reactiveui.net/docs/handbook/user-input-validation
MIT License
240 stars 26 forks source link

[Bug]: ReactiveValidationObject doesnt work with latest DynamicData version #500

Closed tomasfil closed 1 year ago

tomasfil commented 1 year ago

Describe the bug 🐞

Instantiating ReactiveValidationObject with latest DynamicData package crashes the app.

Step to reproduce

start app from repo

Reproduction repository

https://github.com/tomasfil/ReactiveUI.Validation.DD.Crash

Expected behavior

This should happen...

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

No response

Additional information ℹ️

No response

tomasfil commented 1 year ago
 Message: 
    System.MissingMethodException : Method not found: 'System.IObservable`1<DynamicData.IChangeSet`2<!!0,!!1>> DynamicData.ObservableCacheEx.Bind(System.IObservable`1<DynamicData.IChangeSet`2<!!0,!!1>>, System.Collections.ObjectModel.ReadOnlyObservableCollection`1<!!0> ByRef, Int32, DynamicData.Binding.IObservableCollectionAdaptor`2<!!0,!!1>)'.

  Stack Trace: 
    ValidationContext.ctor(IScheduler scheduler)
    ReactiveValidationObject.ctor(IScheduler scheduler, IValidationTextFormatter`1 formatter) line 53
    IndeiTestViewModel.ctor() line 24
    NotifyDataErrorInfoTests.ShouldDeliverErrorsWhenModelObservableValidationTriggers() line 140
tomasfil commented 1 year ago

Fixed by re-release

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.