•  
      request #18832 Split TLP fetch wrapper to its own library
    Infos
    #18832
    Joris MASSON (jmasson)
    2021-01-08 15:02
    2021-01-07 12:15
    20376
    Details
    Split TLP fetch wrapper to its own library

    The TLP library has a subset of functions dedicated entirely to querying REST APIs with fetch. Splitting it into its own library will let us use it in FlamingParrot context without also pulling all of TLP (and its dependencies). It also provides the opportunity to better track its usage when we want to make improvements on our fetch wrapper.

    With this request, TLP will have a new dependency: @tuleap/tlp-fetch

    Also, this presents the opportunity to expose the "tlp fetch mocks" widely used in Jest tests from this library. People who need to mock TLP fetch functions can include @tuleap/tlp-fetch as a Dev dependency and use its mocks.

    TLP
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2021-01-08
    Attachments
    Empty
    References

    Follow-ups