Skip to content

Expose all the "Routine building blocks" in public API #174

@mstechly

Description

@mstechly

@Brendan-Reid1991 asked:

At the bartiq top level, why do we expose PortDirection but not Port?

@mstechly answered:

I think that's because we never really needed it?
It is inconsistent, I agree.
I think we exposed publically the things that we actually needed for conversions in WB and Qualtran.
Now that I think about it, we exposed almost none of these things at the beginning.
But then it turned out we need to expose some of them to support writing some conversion code.
And now we ended up exposing more than not, so it looks weird.

Given the above, I think it would be reasonable to expose all the other "building blocks" classes in the public API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions