Skip to content

deprecate pkg path in flagd module #595

Open
@bluebrown

Description

@bluebrown

Hi, I am experimenting with this library and open feature sdk itself.
I feel like the import path is a bit awkward to use. I can see the pkg
path has been deprecated in the SDK already, but in this package not.

I have to import it like this. Which isn't nice, imo. And its also fiddley
to find out. You have to go and read the files and packages named to
understand that there is some naming inception going on.

import (
	flagd "github.com/open-feature/go-sdk-contrib/providers/flagd/pkg"
)

Perhaps this should just be github.com/open-feature/go-sdk-contrib/providers/flagd.
And then use internal directories to define the public API boundaries,
instead of pkg.

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