• Mehmet Emin INAC's avatar
    Do not cast project IDs to string in API response · 687f27c2
    Mehmet Emin INAC authored
    Previously we were casting the invalid project IDs to strings because
    we were trying to cover the case where the client sends an invalid ID
    to the backend. This was causing problems on client application because
    it was expecting the IDs to be integers. I do believe that the effort
    of covering the case where client sends an invalid ID will cause more
    problems than it solves therefore I am removing the related logic and
    assuming the client is always sending us valid IDs.
    
    /closes https://gitlab.com/gitlab-org/gitlab/-/issues/196729
    687f27c2
projects_controller_spec.rb 5.7 KB