Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views with wildcard projections aren't regenerated when upstream table changes #1837

Closed
mattprecious opened this issue Jul 9, 2020 · 0 comments · Fixed by #3056
Closed

Comments

@mattprecious
Copy link
Collaborator

Build Environment
SQLDelight version: 1.5.0-SNAPSHOT-1593820517407
IDE version: Android Studio 4.0
Dialect: SQLite

Describe the bug
Table.sq:

CREATE TABLE table (
  text TEXT,
  text2 TEXT
);

View.sq:

CREATE VIEW view AS
SELECT table.*, 1
FROM table;

If you delete text2 from Table.sq, Table.kt is regenerated, but View.kt is not. You need to touch View.sq to trigger it to regenerate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants