Skip to content

Exposing APIs required by firebase-tools as non-internal #533

Open
@merlinnot

Description

@merlinnot

Rationale

  1. From TypeError: _onRequestWithOpts is not a function firebase-tools#1480 (comment)

That's what we get for relying on internal APIs

  1. Unexpected side effect of @hidden to @internal migration - exposed definitons #529

Overview

It seems that issues caused by the necessity to expose internal APIs and usage of these APIs in firebase-tools starts to hurt. We should find a way to expose necessary information in a better way, that would:

  • allow us to get rid of stripInternal, @internal and @hidden by making methods and properties actually not exposed (private, not exported, ...);
  • raise awareness of these APIs being used by other repositories, to make it more understandable that someone relies on it, to force us to think of changes to these APIs as breaking.

I'm opening this issue as a place where we can discuss possible designs and consequences, I'd be willing to work on the implementation if we decide on a certain design.

@thechenky @samtstern If you think it's a good idea, could you ping all of the people who should be involved?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions