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

Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not.

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

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M1
    • Core Library
    • None

    Description

      Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not. With the faulting mechanism moved out of the objects into the ClassDescriptors, ObjectContext.prepareForAccess must ensure that a property being accessed is resolved. If this operation would require a descriptor lookup, it will make access to simple properties slower. So adding a hint to the method signature seems like a better solution.

      NOTE THAT THIS AFFECTS CLIENT CODE TEMPLATES, SO CODE GENERATION RUN WILL BE NEEDED ONCE THIS IS FIXED.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment