Skip to content

The public API leaks Kiota-generated models #33

Description

@sevein

ssclient is intended to be wrapper-first, with the generated Kiota client acting only as an implementation detail. However, some parts of the public API currently expose Kiota-generated model types to callers.

The public surface should stay domain-oriented and independent from Kiota types. Callers using the high-level client should not need to know about, import, or reason about generated request/response models unless they explicitly opt into the raw client.

For example:

func (s *LocationsService) Get(ctx context.Context, id uuid.UUID) (*models.Location, error)

We should fix this before v1.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions