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

Generate View Types #123

Merged
merged 7 commits into from
Dec 13, 2023
Merged

Generate View Types #123

merged 7 commits into from
Dec 13, 2023

Conversation

daogrady
Copy link
Contributor

@daogrady daogrady commented Dec 12, 2023

Fixes #121

entity Foo {
  a: Integer;
  b: String;
}

entity Bar as select from Foo {
  a,
  a as alias
};

⬇️ (more or less)

class Foo {
  a: number
  b: string
}

class Bar {
  a: number
  alias: number
}

@daogrady daogrady enabled auto-merge (squash) December 13, 2023 10:15
@daogrady daogrady merged commit 203dd2d into main Dec 13, 2023
8 checks passed
@daogrady daogrady deleted the fix/generate-view-types branch December 13, 2023 10:17
@mcastrup
Copy link

Seems to work 👍

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

Successfully merging this pull request may close these issues.

[QUESTION] Aren't types generated for a view?
2 participants