Skip to content

Data classes for a table's queries aren't generated if one of its VIEWs is moved to another table's .sq file #2313

@saket

Description

@saket

Build Environment
SQLDelight version: 1.4.4
OS: macOS
Gradle version: 4.0.2
Kotlin version: 1.4.31

Describe the bug
SQLDelight fails to generate data classes for any query for a table if I move one of its VIEW to another table's .sq file. I was able to reproduce this in Press by moving this VIEW to Folder.sq. A funny thing about this bug is that SQLDelight then tries to use the name of the moved VIEW as the return type for all generated query functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions