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

[BUG] Do not use keywords in the domain models #468 #320

Open
1 task done
BirgitBoss opened this issue Sep 18, 2024 · 0 comments
Open
1 task done

[BUG] Do not use keywords in the domain models #468 #320

BirgitBoss opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@BirgitBoss
Copy link
Collaborator

What happens?

Copy from admin-shell-io/aas-specs#468 by @mristin
...

The class Endpoint contains a property called interface. This makes it ugly for the SDKs to call the property interfacE whenever it is a keyword in the respective language.

Please find attached to this comment a Python snippet (from https://github.com/aas-core-works/aas-core-codegen) listing all the keywords in all the popular programming languages.

Another problematic properties are type, range and result.

keywords-snippet.txt

  • I have signed the required Developer Certificate of Origin (DCO) already.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant