Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #31165 Extract Vue strictInject pattern in a re-usable library
    Infos
    #31165
    Thomas Gerbet (tgerbet)
    2023-03-20 17:49
    2023-03-17 10:05
    32806
    Details
    Extract Vue strictInject pattern in a re-usable library

    Vue has a inject function returning either T or undefined. An internal function strictInject was added a while ago returning only T and throwing an error when the value does not exist in order to indicate an issue likely caused by the developer.

    This implementation exists 3 times in the codebase (with and without tests), we need to stop spreading new implementations.

    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2023-03-20
    Attachments
    Empty
    References
    Referenced by request #31165

    Follow-ups