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

The data model generation fails if the model or one of its properties uses a C# reserved keyword #13658

Closed
mlqn opened this issue Sep 27, 2024 · 0 comments
Assignees
Labels
area/data-modeling Area: Related to data models - e.g. create, edit, use data models. kind/bug Used when there is a defect / something is not working as it should. status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design. team/studio-domain1

Comments

@mlqn
Copy link
Contributor

mlqn commented Sep 27, 2024

Description of the bug

The data model generation fails if the model or one of its properties uses a C# reserved keyword (e.g., new, private, class, if, enum, etc).

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/

Steps To Reproduce

new.mov

Additional Information

No response

@mlqn mlqn added kind/bug Used when there is a defect / something is not working as it should. status/triage labels Sep 27, 2024
@mlqn mlqn added the area/data-modeling Area: Related to data models - e.g. create, edit, use data models. label Sep 27, 2024
@mlqn mlqn changed the title An error occurs when generating a model called new An error occurs when generating a model named with a C# reserved keyword Sep 27, 2024
@mlqn mlqn added status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design. and removed status/triage labels Sep 27, 2024
@mlqn mlqn changed the title An error occurs when generating a model named with a C# reserved keyword An error occurs when generating a data model named with a C# reserved keyword Sep 27, 2024
@mlqn mlqn changed the title An error occurs when generating a data model named with a C# reserved keyword The data model generation fails if the model or one of its properties uses a C# reserved keyword Sep 29, 2024
@ErlingHauan ErlingHauan self-assigned this Nov 14, 2024
@ErlingHauan ErlingHauan moved this to 👷 In Progress in Team Studio Nov 14, 2024
@ErlingHauan ErlingHauan moved this from 👷 In Progress to ✅ Done in Team Studio Dec 5, 2024
@github-project-automation github-project-automation bot moved this from ✅ Done to Documentation in Team Studio Dec 5, 2024
@ErlingHauan ErlingHauan moved this from Documentation to ✅ Done in Team Studio Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/data-modeling Area: Related to data models - e.g. create, edit, use data models. kind/bug Used when there is a defect / something is not working as it should. status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design. team/studio-domain1
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants