Skip to content

[Client] Unable to implement online operations as per documentation (DatasyncServiceClient<TEntity>) #99

Closed
@Nicmanthecodeman

Description

@Nicmanthecodeman

Describe the bug

I cannot implement online operations from the client after following the documentation. More specifically, I cannot create a DatasyncServiceClient since its access modifier is marked as internal.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the documentation to implement online operations.
  2. Follow the steps Creating a Http Client Factory and Create a Datasync Service Client
  3. See the error as shown in the image below.

Expected behavior

The DatasyncServiceClient class should be able to be instantiated. If this should not be the case, ammend the documentation in order to provide clear guidance regarding the implementation of online operations.

What platforms?

  • Server:

    • .NET 8
    • CommunityToolkit.Datasync.Server --version 8.0.0
    • CommunityToolkit.Datasync.Server.EntityFrameworkCore --version 8.0.0
    • MS SQL
    • Windows (Local)
  • Client:

    • Windows
    • Local device
    • .NET 8
    • MAUI
    • CommunityToolkit.Datasync.Client --version 8.0.0

Screenshots

image

Additional context

N/A

Metadata

Metadata

Assignees

Labels

ClientImprovements or additions to the client code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions