Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2467

New type-aware Property API

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.M1
    • Component/s: cgen, Core Library
    • Labels:
      None

      Description

      Current o.a.c.exp.Property API is really useful, but it mixes up everything in one huge class.
      It is hard to extend and it allows to make expressions that doesn't make any sense (like Artist.ARTIST_NAME.mod(5)).

      So we can use our knowledge of property types in cgen and provide type-specific variants
      (like Numeric, String, Relationship etc.)

      This will nicely fix mentioned issues and CAY-2332

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              ntimofeev Nikita Timofeev

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment