-
Notifications
You must be signed in to change notification settings - Fork 525
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
bug: manager-api do not support add consumer with custom create time or update time #851
Comments
Hi, @idbeta, I can't get your point. |
hi, @starsz you can refer to https://github.com/apache/apisix-dashboard/pull/830/files#diff-d6674616f38aabf4e6e7f91f04b057982213b9b3758fc363ffc140843db957e3R344-R385 |
OK, I reproduce the issue. |
I don't think it is a bug, audit field should maintain by server not client.So we should not accept client audit field such as |
Not sure if it's a bug indeed, what's your opinion? I would be more prefer with @ShiningRush's opinion 🤔 |
agree +1. |
agree +1 |
OK. So the conclusion is that we should not accept the client audit fields such as CreatedAt, CreatedBy. |
Should we add this tip to FAQ? |
At the beginning, I referred to the processing of adminAPI ( APISIX ). After reading your comments, I think manager-api does not need to be the same as adminAPI at this point. I will modify the related test cases. |
add new case about update consumer
Bug report
Describe the bug
use manager-api add a consumer with custom create time or update time,
but the consumer actually created does not use the custom time.
The text was updated successfully, but these errors were encountered: