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

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

Open
asmolarczyk opened this issue Mar 26, 2024 · 2 comments
Labels
Blazor Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project
Milestone

Comments

@asmolarczyk
Copy link

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!

@asmolarczyk asmolarczyk added Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project labels Mar 26, 2024
@apobekiaris
Copy link
Member

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

@apobekiaris apobekiaris removed their assignment Apr 11, 2024
@apobekiaris
Copy link
Member

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.

@apobekiaris apobekiaris added this to the 21.2.702.0 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blazor Bug Reactive.XAF eXpandFrameowrk/DevExpress.XAF project
Projects
None yet
Development

No branches or pull requests

2 participants