Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag PATCH users/self route as Deprecated #2196

Closed

Conversation

shubhdevelop
Copy link
Contributor

@shubhdevelop shubhdevelop commented Oct 6, 2024

Date: 06/10/2024

Developer Name: Shubham Raj


Issue Ticket Number

Closes #2155

The above mentioned issue was related to improving the overall performance of the patch users/self, thought we are either way going to deprecate all the users/self route in accordance with issue #2126, So there is no point wasting effort on something that we are going to deprecate,

I'm adding comments, above the controller and the endpoint, as well as update the api contracts documentation

TODO

Documentation Updated?

This PR updates the API Contracts
Note:

  • Documentation merged

  • No
  • Yes

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

Adds an handy warning in the IDE

image

  • Yes
  • No

Test Coverage

Didn't add any test coverage only modified the previously written one and they all are passing

Additional Notes:

changes done in accordance with solution 3
https://docs.google.com/document/d/1ub9ryFs4qq9m9m5jdOxFAx9VvBPMpOn4-_jDTBaNkJY/edit?tab=t.0

@shubhdevelop shubhdevelop marked this pull request as draft October 6, 2024 11:24
@shubhdevelop shubhdevelop marked this pull request as ready for review October 6, 2024 11:35
Copy link
Member

@iamitprakash iamitprakash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment added

controllers/users.js Show resolved Hide resolved
@prakashchoudhary07
Copy link
Contributor

@shubhdevelop Why was this closed?

@shubhdevelop
Copy link
Contributor Author

Screenshot_20241020-024824.png

got a comment about this from Tejas sir, and work on the new api is on & vikas is doing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PATCH /users/self controller is ambiguous, and slow.
7 participants