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

Deprecate old error signature #40

Open
olzraiti opened this issue Oct 16, 2024 · 0 comments
Open

Deprecate old error signature #40

olzraiti opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
bw-breaking-refactoring Is bw breaking refactoring
Milestone

Comments

@olzraiti
Copy link
Member

Errors signature are currently:

{
      	"statusCode": 422,
	"message": "userID cannot be updated by this method"
	"error": {
		"statusCode": 422,
		"name": "Error",
		"message": "UserID cannot be changed"
	}
}

We should remove the error part which is duplicate. Simple as removing usage of src/error-signature-backward-compatibility/error-signature-backward-compatibility.filter.ts

@olzraiti olzraiti self-assigned this Oct 16, 2024
@olzraiti olzraiti added the bw-breaking-refactoring Is bw breaking refactoring label Oct 16, 2024
@olzraiti olzraiti added this to the API /v1 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bw-breaking-refactoring Is bw breaking refactoring
Projects
None yet
Development

No branches or pull requests

1 participant