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

feat: enhance class properties of CSN/LinkedCSN #265

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stockbal
Copy link
Contributor

@stockbal stockbal commented Oct 2, 2024

This PR adjusts/adds some properties of the classes of CSN and Linked CSN

Changes

  • made items property of linked class type optional, as only array types or entity/struct elements of type array have this property

Fixed

  • enhance type property of CSN type to include all valid CDS types (e.g. cds.String, cds.Decimal, ...), but leave it open for user/custom types as well

Added

  • added length property to String class
  • added precision and scale properties to Decimal class
  • added some general properties to type class
    • notNull
    • key
    • virtual

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.

1 participant