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

[FEATURE] Missing types for text tables/localized properties #77

Open
1 task done
mvoros opened this issue Sep 26, 2023 · 0 comments · May be fixed by #356
Open
1 task done

[FEATURE] Missing types for text tables/localized properties #77

mvoros opened this issue Sep 26, 2023 · 0 comments · May be fixed by #356
Labels
feature request New feature or request keepalive Will not be closed by Stale bot

Comments

@mvoros
Copy link

mvoros commented Sep 26, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Nature of Your Project

TypeScript

Current Behavior

When an entity property is defined with "localized", there is another table created that contains "locale" as additional key, the original entity key fields + all localized properties. It would be beneficial if a new class was generated that represents entries in this table as well as a new reference to this text table that can be used in CQL commands.

For inspiration, the project cds2types does generate classes for the text entities.

Expected Behavior

A new classes are generated for the text tables.

Steps To Reproduce

No response

Environment

- **OS**:
- **Node**:
- **npm**:
- **cds-typer**: 
- **cds**:

Repository Containing a Minimal Reproducible Example

No response

Anything else?

No response

@mvoros mvoros added bug Something isn't working new labels Sep 26, 2023
@daogrady daogrady added the feature request New feature or request label Sep 26, 2023
@daogrady daogrady added the keepalive Will not be closed by Stale bot label Oct 10, 2023
@daogrady daogrady mentioned this issue Oct 10, 2023
@daogrady daogrady removed the bug Something isn't working label Oct 11, 2023
@daogrady daogrady changed the title [BUG] Missing types for text tables/localized properties [FEATURE REQUEST] Missing types for text tables/localized properties Oct 11, 2023
@daogrady daogrady changed the title [FEATURE REQUEST] Missing types for text tables/localized properties [FEATURE] Missing types for text tables/localized properties Oct 11, 2023
@daogrady daogrady removed the new label Oct 11, 2023
@stockbal stockbal linked a pull request Oct 12, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request keepalive Will not be closed by Stale bot
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants