Skip to content

IndexedDB Constructor #15

@emrahdogru

Description

@emrahdogru

When I update to version 6.3.4, I get the following error. The error occurs when I try to call the IndexedDb constructor method. I am calling the method as follows (I have tried different combinations of the key parameter and other optional parameters):

Database = new IndexedDb($"S{sessionService.TenantId}", idbService, objectStores: TableNames.Keys, version: 2, jsonSerializerOptions: jsonSerializerOptions, key:null);

It works fine in version 6.2.5.

blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Method not found: void Tavenem.Blazor.IndexedDB.IndexedDb..ctor(string,Tavenem.Blazor.IndexedDB.IndexedDbService,System.Collections.Generic.IEnumerable1,System.Nullable1<int>,System.Text.Json.JsonSerializerOptions,string) System.MissingMethodException: Method not found: void Tavenem.Blazor.IndexedDB.IndexedDb..ctor(string,Tavenem.Blazor.IndexedDB.IndexedDbService,System.Collections.Generic.IEnumerable1,System.Nullable1<int>,System.Text.Json.JsonSerializerOptions,string) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[<InitializeDatabase>d__4](:7292/<InitializeDatabase>d__4& stateMachine) at Scf.UI.Services.DbService.InitializeDatabase(:7292/IServiceProvider serviceProvider) at :7292/Scf.UI.Layout.MainLayout.OnInitializedAsync() in \Layout\MainLayout.razor:line 116 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync((index)) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(:7292/Task taskToHandle, ComponentState owningComponentState)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions