Skip to content

Changing the outputDir of connector.yaml does not work properly #9355

@marcusx2

Description

@marcusx2

Operating System

all

Environment (if applicable)

all

Firebase SDK Version

12.4.0

Firebase SDK Product(s)

DataConnect

Project Tooling

Visual Studio Code and DataConnect extension under Windows 11

Detailed Problem Description

Changing the outputDir of the dataconnect sdk does not work as expected

Image

If I change the output folder and keep doing the codelab, the MovieService.tsx won't find the new imports.

The reason is, even though I changed the outputDir in the connector.yaml file, all the imports still point to the original path of dataconnect

Image

which is ../../app/src/lib/dataconnect-sdk

In addition, the index.d.ts is not updated in the old path or the new path.

Steps and code to reproduce issue

all

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