eXpandFramework/eXpand

No service for type 'Xpand.XAF.Modules.Reactive.Services.IObjectSelector`1 has been registered.

Opened this issue · 2 comments

Hi,

I'm trying to use the Xpand.XAF.Modules.Reactive.Services.ViewExtensions. SelectObject extension method https://github.com/eXpandFramework/Reactive.XAF/blob/b35d53f6f84752d9c902e79cf1d0bf9ff62112cd/src/Modules/Reactive/Services/ViewExtensions.cs#L44.

Unfortunately this does not work out of the box in a XAF Blazor solution, because the Xpand.XAF.Modules.Reactive.Services.IObjectSelector`1 is not registered. I found an ObjectSelectorService on github, but it resides in the tests project: https://github.com/eXpandFramework/Reactive.XAF/blob/b35d53f6f84752d9c902e79cf1d0bf9ff62112cd/src/Tests/TestsLib/PlatformServices.cs#L6

Does it make sense to add/register it in the Xpand.XAF.Modules.Blazor package?

Thank you!

these methods are used in testing but I see they are useful in the production api as well, so sure happy to move it in hte Blazor package, for now just copy paste the existing in your project until the next minor

The pre-release 4.232.4.0 in the Reactive.XAF lab branch includes commits that relate to this task:

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Released packages: Xpand.Extensions v.4.232.4
Xpand.Extensions.Blazor v.4.232.4
Xpand.Extensions.Mono.Cecil v.4.232.4
Xpand.Extensions.Office.Cloud v.4.232.4
Xpand.Extensions.Office.Cloud.Google.Blazor v.4.232.4
Xpand.Extensions.Reactive v.4.232.4
Xpand.Extensions.XAF v.4.232.4
Xpand.Extensions.XAF.Xpo v.4.232.4
Xpand.TestsLib v.4.232.4
Xpand.TestsLib.Blazor v.4.232.4
Xpand.TestsLib.Common v.4.232.4
Xpand.TestsLib.EasyTest v.4.232.4
Xpand.VersionConverter v.4.232.4
Xpand.XAF.Core.All v.4.232.4
Xpand.XAF.Modules.AutoCommit v.4.232.4
Xpand.XAF.Modules.Blazor v.4.232.4
Xpand.XAF.Modules.BulkObjectUpdate v.4.232.4
Xpand.XAF.Modules.CloneMemberValue v.4.232.4
Xpand.XAF.Modules.CloneModelView v.4.232.4
Xpand.XAF.Modules.Email v.4.232.4
Xpand.XAF.Modules.GridListEditor v.4.232.4
Xpand.XAF.Modules.HideToolBar v.4.232.4
Xpand.XAF.Modules.JobScheduler.Hangfire v.4.232.4
Xpand.XAF.Modules.JobScheduler.Notification v.4.232.4
Xpand.XAF.Modules.MasterDetail v.4.232.4
Xpand.XAF.Modules.ModelMapper v.4.232.4
Xpand.XAF.Modules.ModelViewInheritance v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.4.232.4
Xpand.XAF.Modules.Office.DocumentStyleManager v.4.232.4
Xpand.XAF.Modules.OneView v.4.232.4
Xpand.XAF.Modules.PositionInListView v.4.232.4
Xpand.XAF.Modules.ProgressBarViewItem v.4.232.4
Xpand.XAF.Modules.RazorView v.4.232.4
Xpand.XAF.Modules.Reactive v.4.232.4
Xpand.XAF.Modules.Reactive.Logger v.4.232.4
Xpand.XAF.Modules.Reactive.Logger.Client.Win v.4.232.4
Xpand.XAF.Modules.Reactive.Logger.Hub v.4.232.4
Xpand.XAF.Modules.Reactive.Rest v.4.232.4
Xpand.XAF.Modules.RefreshView v.4.232.4
Xpand.XAF.Modules.SequenceGenerator v.4.232.4
Xpand.XAF.Modules.Speech v.4.232.4
Xpand.XAF.Modules.SpellChecker v.4.232.4
Xpand.XAF.Modules.StoreToDisk v.4.232.4
Xpand.XAF.Modules.SuppressConfirmation v.4.232.4
Xpand.XAF.Modules.TenantManager v.4.232.4
Xpand.XAF.Modules.ViewEditMode v.4.232.4
Xpand.XAF.Modules.ViewItemValue v.4.232.4
Xpand.XAF.Modules.ViewWizard v.4.232.4
Xpand.XAF.Modules.Windows v.4.232.4
Xpand.XAF.Web.All v.4.232.4
Xpand.XAF.Win.All v.4.232.4

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.