Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3879

Try to avoid extending input objects in functions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      We should try to avoid extending input objects in functions if possible, especially if the function needs to perform castings to put those properties like it's done in translateWSPost.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dpalou Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: